IDomainManager<TData> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Query and Lookup methods whereas stores that don't support IQueryable directly or where it is not the preferred way of accessing them can implement the QueryAsync and LookupAsync methods.
public interface IDomainManager<TData> where TData : class, ITableData
type IDomainManager<'Data (requires 'Data : null and 'Data :> ITableData)> = interface
Public Interface IDomainManager(Of TData)
Type Parameters
- TData
- Derived
Methods
DeleteAsync(String) |
Deletes an existing item |
InsertAsync(TData) |
Inserts an item to the backend store. |
Lookup(String) |
Builds an IQueryable<T> to be executed against a store supporting IQueryable<T> for looking up a single item. |
LookupAsync(String) |
Looks up a single item in the backend store. |
Query() |
Builds an IQueryable<T> to be executed against a store supporting IQueryable<T> for querying data. |
QueryAsync(ODataQueryOptions) |
Executes the provided |
ReplaceAsync(String, TData) |
Completely replaces an existing item. |
UpdateAsync(String, Delta<TData>) |
Updates an existing item by applying a System.Web.Http.OData.Delta`1 patch to it. The System.Web.Http.OData.Delta`1 abstraction keeps track of which properties have changed which avoids problems with default values and the like. |
Applies to
Azure SDK for .NET