Example #1
0
 protected override void DataPortal_Create()
 {
     // TODO: load default values
     // omit this override if you have no defaults to set
     LoadProperty(ChildListProperty, EditableChildList.NewEditableChildList());
     LoadProperty(ChildProperty, EditableChild.NewEditableChild());
     base.DataPortal_Create();
 }
Example #2
0
 private void DataPortal_Fetch(int criteria)
 {
     // TODO: load values
     LoadProperty(ChildListProperty, EditableChildList.GetEditableChildList(null));
     LoadProperty(ChildProperty, EditableChild.GetEditableChild(null));
 }