Exemplo n.º 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();
 }
 private void DataPortal_Fetch(Criteria criteria)
 {
     // TODO: load values
     using (SqlDataReader dr = null)
     {
         _children =
             EditableChildList.GetEditableChildList(dr);
     }
 }
Exemplo n.º 3
0
 private void DataPortal_Fetch(int criteria)
 {
     // TODO: load values
     LoadProperty(ChildListProperty, EditableChildList.GetEditableChildList(null));
     LoadProperty(ChildProperty, EditableChild.GetEditableChild(null));
 }