9using System.Collections.Generic;
21 get {
return GetProperty<string>(DataProperty); }
22 set { SetProperty<string>(DataProperty, value); }
30 return GetProperty(ChildProperty);
39 return GetProperty(ChildListProperty);
45 SetProperty(ChildProperty, childDataPortal.
FetchChild());
51 LoadProperty(ChildProperty, childDataPortal.CreateChild());
52 LoadProperty(ChildListProperty, childListDataPortal.CreateChild());
58 LoadProperty(ChildProperty, childDataPortal.FetchChild());
59 LoadProperty(ChildListProperty, childListDataPortal.FetchChild());
65 FieldManager.UpdateChildren(
this);
71 FieldManager.UpdateChildren(
this);
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
void DataPortal_Create([Inject] IChildDataPortal< Child > childDataPortal, [Inject] IChildDataPortal< ChildList > childListDataPortal)
void DataPortal_Fetch([Inject] IChildDataPortal< Child > childDataPortal, [Inject] IChildDataPortal< ChildList > childListDataPortal)
void FetchChild(IChildDataPortal< Child > childDataPortal)
Interface defining the members of the child data portal type.
object FetchChild(params object[] criteria)
Called by a factory method in a business class to retrieve an object, which is loaded with values fro...
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Update
Update operation (includes insert, update and delete self).
@ Create
Create operation.