EntityDomainManager<TData> Class
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 a DomainManager<TData> implementation targeting SQL as the backend store using Entity Framework. In this model, there is a 1:1 mapping between the data object (DTO) exposed through a TableController<TData> and the domain model. The MappedEntityDomainManager<TData,TModel> is the recommended DomainManager<TData> for situations where there is not a 1:1 relationship between the Data Object (DTO) and the domain model managed by SQL.
public class EntityDomainManager<TData> : Microsoft.Azure.Mobile.Server.Tables.DomainManager<TData> where TData : class, ITableData
type EntityDomainManager<'Data (requires 'Data : null and 'Data :> ITableData)> = class
inherit DomainManager<'Data (requires 'Data : null and 'Data :> ITableData)>
Public Class EntityDomainManager(Of TData)
Inherits DomainManager(Of TData)
- TData
The data object (DTO) type.
- Inheritance
Entity |
Creates a new instance of EntityDomainManager<TData> |
Entity |
Creates a new instance of EntityDomainManager<TData> |
Context | |
Enable |
Determines whether rows are hard deleted or marked as deleted. False by default. (Inherited from DomainManager<TData>) |
Include |
Determines whether soft deleted records are included in query results. True by default. (Inherited from DomainManager<TData>) |
Request |
Instance of HttpRequestMessage (Inherited from DomainManager<TData>) |
Delete |
|
Get |
Gets the original value of an entity in case an update or replace operation resulted in an DbUpdateConcurrencyException. The original value extracted from the exception will get returned to the client so that it can merge the data and possibly try the operation again. |
Insert |
|
Lookup(String) | |
Lookup |
|
Query() | |
Query |
|
Replace |
|
Submit |
Submits the change through Entity Framework while logging any exceptions and produce appropriate HttpResponseMessage instances. |
Undelete |
|
Update |
Produk | Versi |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET maklum balas
Azure SDK for .NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: