8using System.Threading.Tasks;
66 T
Fetch(params
object[] criteria);
Interface defining the members of the data portal type.
Task DeleteAsync(params object[] criteria)
Called by a factory method in a business class or by the UI to delete an object.
Task< T > UpdateAsync(T obj)
Called by a factory method in a business class or by the UI to update an object.
void Delete(params object[] criteria)
Called by a Shared (static in C#) method in the business class to cause immediate deletion of a speci...
T Execute(T obj)
Called to execute a Command object on the server.
T Update(T obj)
Called by the business object's Save() method to insert, update or delete an object in the database.
Task< T > FetchAsync(params object[] criteria)
Starts an asynchronous data portal operation to create a business object.
Task< T > ExecuteAsync(T command)
Called by a factory method in a business class or by the UI to execute a command object.
T Fetch(params object[] criteria)
Called by a factory method in a business class to retrieve an object, which is loaded with values fro...
Task< T > CreateAsync(params object[] criteria)
Starts an asynchronous data portal operation to create a business object.
T Create(params object[] criteria)
Called by a factory method in a business class to create a new object, which is loaded with default v...