Interface defining the members of the child data portal type. More...
Public Member Functions | |
| Task< object > | CreateChildAsync (params object[] criteria) |
| Starts an asynchronous data portal operation to create a business object. More... | |
| Task< object > | FetchChildAsync (params object[] criteria) |
| Starts an asynchronous data portal operation to create a business object. More... | |
| Task | UpdateChildAsync (object obj, params object[] parameters) |
| Called by a factory method in a business class or by the UI to update an object. More... | |
| object | CreateChild (params object[] criteria) |
| Called by a factory method in a business class to create a new object, which is loaded with default values from the database. More... | |
| object | FetchChild (params object[] criteria) |
| Called by a factory method in a business class to retrieve an object, which is loaded with values from the database. More... | |
| void | UpdateChild (object obj, params object[] parameters) |
| Called by the business object's Save() method to insert, update or delete an object in the database. More... | |
| Task< T > | CreateChildAsync (params object[] criteria) |
| Starts an asynchronous data portal operation to create a business object. More... | |
| Task< T > | FetchChildAsync (params object[] criteria) |
| Starts an asynchronous data portal operation to create a business object. More... | |
| Task | UpdateChildAsync (T obj, params object[] parameters) |
| Called by a factory method in a business class or by the UI to update an object. More... | |
| T | CreateChild (params object[] criteria) |
| Called by a factory method in a business class to create a new object, which is loaded with default values from the database. More... | |
| T | FetchChild (params object[] criteria) |
| Called by a factory method in a business class to retrieve an object, which is loaded with values from the database. More... | |
| void | UpdateChild (T obj, params object[] parameters) |
| Called by the business object's Save() method to insert, update or delete an object in the database. More... | |
Interface defining the members of the child data portal type.
| T |
Definition at line 16 of file IChildDataPortalT.cs.
| object Csla.IChildDataPortal< T >.CreateChild | ( | params object[] | criteria | ) |
Called by a factory method in a business class to create a new object, which is loaded with default values from the database.
| criteria | Object-specific criteria. |
Implemented in Csla.DataPortal< T >.
| T Csla.IChildDataPortal< T >.CreateChild | ( | params object[] | criteria | ) |
Called by a factory method in a business class to create a new object, which is loaded with default values from the database.
| criteria | Object-specific criteria. |
Implemented in Csla.DataPortal< T >.
| Task< object > Csla.IChildDataPortal< T >.CreateChildAsync | ( | params object[] | criteria | ) |
Starts an asynchronous data portal operation to create a business object.
| criteria | Criteria describing the object to create. |
Implemented in Csla.DataPortal< T >.
| Task< T > Csla.IChildDataPortal< T >.CreateChildAsync | ( | params object[] | criteria | ) |
Starts an asynchronous data portal operation to create a business object.
| criteria | Criteria describing the object to create. |
Implemented in Csla.DataPortal< T >.
| object Csla.IChildDataPortal< T >.FetchChild | ( | params object[] | criteria | ) |
Called by a factory method in a business class to retrieve an object, which is loaded with values from the database.
| criteria | Object-specific criteria. |
Implemented in Csla.DataPortal< T >.
| T Csla.IChildDataPortal< T >.FetchChild | ( | params object[] | criteria | ) |
Called by a factory method in a business class to retrieve an object, which is loaded with values from the database.
| criteria | Object-specific criteria. |
Implemented in Csla.DataPortal< T >.
| Task< object > Csla.IChildDataPortal< T >.FetchChildAsync | ( | params object[] | criteria | ) |
Starts an asynchronous data portal operation to create a business object.
| criteria | Criteria describing the object to create. |
Implemented in Csla.DataPortal< T >.
| Task< T > Csla.IChildDataPortal< T >.FetchChildAsync | ( | params object[] | criteria | ) |
Starts an asynchronous data portal operation to create a business object.
| criteria | Criteria describing the object to create. |
Implemented in Csla.DataPortal< T >.
| void Csla.IChildDataPortal< T >.UpdateChild | ( | object | obj, |
| params object[] | parameters | ||
| ) |
Called by the business object's Save() method to insert, update or delete an object in the database.
Note that this method returns a reference to the updated business object. If the server-side DataPortal is running remotely, this will be a new and different object from the original, and all object references MUST be updated to use this new object.
| obj | A reference to the business object to be updated. |
| parameters |
Implemented in Csla.DataPortal< T >.
| void Csla.IChildDataPortal< T >.UpdateChild | ( | T | obj, |
| params object[] | parameters | ||
| ) |
Called by the business object's Save() method to insert, update or delete an object in the database.
Note that this method returns a reference to the updated business object. If the server-side DataPortal is running remotely, this will be a new and different object from the original, and all object references MUST be updated to use this new object.
| obj | A reference to the business object to be updated. |
| parameters |
Implemented in Csla.DataPortal< T >.
| Task Csla.IChildDataPortal< T >.UpdateChildAsync | ( | object | obj, |
| params object[] | parameters | ||
| ) |
Called by a factory method in a business class or by the UI to update an object.
| obj | Object to update. |
| parameters | Additional, optional parameters to pass |
| Task Csla.IChildDataPortal< T >.UpdateChildAsync | ( | T | obj, |
| params object[] | parameters | ||
| ) |
Called by a factory method in a business class or by the UI to update an object.
| obj | Object to update. |
| parameters | Additional, optional parameters to pass |
Implemented in Csla.DataPortal< T >.