9using System.Collections.Generic;
16 public class Child : BusinessBase<Child>
33 public override bool Equals(
object obj)
35 if (obj ==
null || !(obj is
Child))
45 return base.GetHashCode();
58 internal static Child NewChild(IDataPortal<Child> dataPortal,
string data)
60 return dataPortal.Create(data);
63 internal static Child GetChild(IDataPortal<Child> dataPortal, IDataReader dr)
66 obj = dataPortal.Fetch(dr);
92 internal void Update(IDbTransaction tr)
Maintains metadata about a property.
override bool Equals(object obj)
override object GetIdValue()
Override this method to return a unique identifying value for this object.
override int GetHashCode()
static readonly PropertyInfo< GrandChildren > GrandChildrenProperty
GrandChildren GrandChildren
static readonly PropertyInfo< string > DataProperty
static PropertyInfo< Guid > GuidProperty
Interface defining the members of the child data portal type.
@ Serializable
Prevents updating or inserting until the transaction is complete.