TableController<TData> Class

 

Provides a common ApiController abstraction for Table Controllers.

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

System::Object
  System.Web.Http::ApiController
    Microsoft.WindowsAzure.Mobile.Service.Tables::TableController
      Microsoft.WindowsAzure.Mobile.Service::TableController<TData>

generic<typename TData>
where TData : ref class, ITableData
[TableControllerConfigAttribute]
public ref class TableController abstract : TableController

Type Parameters

TData

The type of the entity.

NameDescription
System_CAPS_protmethodTableController<TData>()

Initializes a new instance of the TableController<TData> class.

System_CAPS_protmethodTableController<TData>(IDomainManager<TData>^)

Initializes a new instance of the TableController<TData> class with a given domainManager.

NameDescription
System_CAPS_protpropertyDomainManager

Gets or sets the IDomainManager<TData> to be used for accessing the backend store.

System_CAPS_pubpropertyServices

Get or Set the ApiServices associated with this controller instance.(Inherited from TableController.)

NameDescription
System_CAPS_protmethodDeleteAsync(String^)

Provides a helper method for deleting an entity from a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInsertAsync(TData)

Provides a helper method for inserting an entity into a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

System_CAPS_protmethodLookup(String^)

Provides a helper method for looking up an entity in a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodQuery()

Provides a helper method for querying a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

System_CAPS_protmethodReplaceAsync(String^, TData)

Provides a helper method for replacing an entity in a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUpdateAsync(String^, Delta<TData>^)

Provides a helper method for updating an entity in a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: