IDomainManager<TData> Interface

 

Provides an abstraction for accessing a backend store for a TableController<TData>. The abstraction can be implemented in one of two ways depending on the capabilities of the backend store. Stores that support a IQueryable<T> -based model can implement the M:Query and M:Lookup methods whereas stores that don't support IQueryable directly or where it is not the preferred way of accessing them can implement the M:QueryAsync and M:LookupAsync methods.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Tables
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

generic<typename TData>
where TData : ref class, ITableData
public interface class IDomainManager

Type Parameters

TData

NameDescription
System_CAPS_pubmethodDeleteAsync(String^)

Deletes an existing item

System_CAPS_pubmethodInsertAsync(TData)

Inserts an item to the backend store.

System_CAPS_pubmethodLookup(String^)

Builds an IQueryable<T> to be executed against a store supporting IQueryable<T> for looking up a single item.

System_CAPS_pubmethodLookupAsync(String^)

Looks up a single item in the backend store.

System_CAPS_pubmethodQuery()

Builds an IQueryable<T> to be executed against a store supporting IQueryable<T> for querying data.

System_CAPS_pubmethodQueryAsync(ODataQueryOptions^)

Executes the provided query against a store.

System_CAPS_pubmethodReplaceAsync(String^, TData)

Completely replaces an existing item.

System_CAPS_pubmethodUpdateAsync(String^, Delta<TData>^)

Updates an existing item by applying a Delta<TEntityType> patch to it. The Delta<TEntityType> abstraction keeps track of which properties have changed which avoids problems with default values and the like.

Return to top
Show: