Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 92 lines (76 sloc) 1.381 kB
9cbbeb3 Made another fix in incrementgenerator. Made a few fixes in hbm2net. …
Peter Smulovics authored
1 using System;
2
3 namespace NHibernate.DomainModel
4 {
5 /// <summary>
2d2b09b Reformatted.
Sergey Koshcheyev authored
6 /// POCO for A
9cbbeb3 Made another fix in incrementgenerator. Made a few fixes in hbm2net. …
Peter Smulovics authored
7 /// </summary>
2d2b09b Reformatted.
Sergey Koshcheyev authored
8 [Serializable]
9 public class A
10 {
11 #region Fields
dd0a3d2 Ported property-ref attribute implementation from Hibernate 2.1
Sergey Koshcheyev authored
12
2d2b09b Reformatted.
Sergey Koshcheyev authored
13 /// <summary>
14 /// Holder for id
15 /// </summary>
16 private Int64 _id;
b67fe68 Add support for index/unique-key attributes to property, many-to-one …
Sergey Koshcheyev authored
17
2d2b09b Reformatted.
Sergey Koshcheyev authored
18 /// <summary>
19 /// Holder for name
20 /// </summary>
21 private String _name;
9cbbeb3 Made another fix in incrementgenerator. Made a few fixes in hbm2net. …
Peter Smulovics authored
22
2d2b09b Reformatted.
Sergey Koshcheyev authored
23 /// <summary>
24 /// Holder for anotherName
25 /// </summary>
26 private String _anotherName;
27
28 /// <summary>
29 /// Holder for forward
30 /// </summary>
31 private E _forward;
32
33 #endregion
34
35 #region Constructors
36
37 /// <summary>
38 /// Default constructor for class A
39 /// </summary>
40 public A()
9cbbeb3 Made another fix in incrementgenerator. Made a few fixes in hbm2net. …
Peter Smulovics authored
41 {
2d2b09b Reformatted.
Sergey Koshcheyev authored
42 }
dd0a3d2 Ported property-ref attribute implementation from Hibernate 2.1
Sergey Koshcheyev authored
43
2d2b09b Reformatted.
Sergey Koshcheyev authored
44 /// <summary>
45 /// Constructor for class A
46 /// </summary>
47 /// <param name="name">Initial name value</param>
48 public A(String name)
49 {
50 this._name = name;
51 }
b67fe68 Add support for index/unique-key attributes to property, many-to-one …
Sergey Koshcheyev authored
52
2d2b09b Reformatted.
Sergey Koshcheyev authored
53 #endregion
54
55 #region Properties
56
57 /// <summary>
58 /// Get/set for id
59 /// </summary>
60 public virtual Int64 Id
61 {
62 get { return _id; }
63 set { _id = value; }
64 }
65
66 /// <summary>
67 /// Get/set for name
68 /// </summary>
69 public virtual String Name
70 {
71 get { return _name; }
72 set { _name = value; }
73 }
dd0a3d2 Ported property-ref attribute implementation from Hibernate 2.1
Sergey Koshcheyev authored
74
2d2b09b Reformatted.
Sergey Koshcheyev authored
75 /// <summary>
76 /// Get/set for anotherName
77 /// </summary>
78 public virtual String AnotherName
79 {
80 get { return _anotherName; }
81 set { _anotherName = value; }
82 }
83
84 public virtual E Forward
85 {
86 get { return _forward; }
87 set { _forward = value; }
88 }
89
90 #endregion
91 }
92 }
Something went wrong with that request. Please try again.