DbDataController<TContext> Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
DataController base class for use with LINQ To Entities Code First data models.
System.Object
System.Web.Http.ApiController
System.Web.Http.Data.DataController
System.Web.Http.Data.EntityFramework.DbDataController<TContext>
System.Web.Http.ApiController
System.Web.Http.Data.DataController
System.Web.Http.Data.EntityFramework.DbDataController<TContext>
Namespace: System.Web.Http.Data.EntityFramework
Assembly: System.Web.Http.Data.EntityFramework (in System.Web.Http.Data.EntityFramework.dll)
The DbDataController<TContext> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DbDataController<TContext> | Initializes a new instance of the DbDataController<TContext> class. |
| Name | Description | |
|---|---|---|
![]() | ActionContext | Gets the HttpActionContext for the currently executing action. (Inherited from DataController.) |
![]() | ChangeSet | Gets the current ChangeSet. (Inherited from DataController.) |
![]() | Configuration | (Inherited from ApiController.) |
![]() | ControllerContext | (Inherited from ApiController.) |
![]() | DbContext | Gets the DbContext. |
![]() | Description | Gets the DataControllerDescription for this DataController. (Inherited from DataController.) |
![]() | ModelState | (Inherited from ApiController.) |
![]() | Request | (Inherited from ApiController.) |
![]() | Url | (Inherited from ApiController.) |
| Name | Description | |
|---|---|---|
![]() | AuthorizeChangeSet | Verifies that the user is authorized to submit the current ChangeSet. (Inherited from DataController.) |
![]() | CreateDbContext | Returns the DbContext object. |
![]() | DeleteEntity | Deletes an entity from the DbContext, ensuring that its EntityState is Deleted. |
![]() | Dispose() | (Inherited from ApiController.) |
![]() | Dispose(Boolean) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides ApiController.Dispose(Boolean).) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ExecuteAsync | Executes data controller in an asynchronous manner. (Inherited from DataController.) |
![]() | ExecuteChangeSet | Invokes the action for each operation in the current ChangeSet. (Inherited from DataController.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Initializes the data controller. (Overrides DataController.Initialize(HttpControllerContext).) |
![]() | InsertEntity | Inserts an entity into the DbContext, ensuring its EntityState is Added. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PersistChangeSet | Finalizes changes after all the operations in the specified changeset have been invoked. (Overrides DataController.PersistChangeSet().) |
![]() | ResolveConflicts | Finalizes changes after all the operations in the specified changeset have been invoked. |
![]() | Submit | Performs the operations indicated by the specified ChangeSet by invoking the corresponding actions for each. (Inherited from DataController.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateEntity | Updates an entity in the DbContext, ensuring it is treated as a modified entity. |
![]() | ValidateChangeSet | Validates the current ChangeSet. (Inherited from DataController.) |
