2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
6using System.Threading.Tasks;
45 Children = childDataPortal.CreateChild();
46 BusinessRules.CheckRules();
51 Children = childDataPortal.CreateChild();
57 FieldManager.UpdateChildren();
63 FieldManager.UpdateChildren();
73 private void DataPortal_Delete(
int id)
75 FieldManager.UpdateChildren();
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
static readonly PropertyInfo< string > NameProperty
static readonly PropertyInfo< ChildList > ChildrenProperty
void DataPortal_DeleteSelf()
void DataPortal_Create([Inject] IChildDataPortal< ChildList > childDataPortal)
static readonly PropertyInfo< int > IdProperty
Interface defining the members of the child data portal type.
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Update
Update operation (includes insert, update and delete self).
@ Create
Create operation.
@ Delete
Delete operation.