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(); }
private void DataPortal_Fetch(int criteria) { // TODO: load values LoadProperty(ChildListProperty, EditableChildList.GetEditableChildList(null)); LoadProperty(ChildProperty, EditableChild.GetEditableChild(null)); }