EntityContext Class
The EntityContext is an abstract base class which provides the same functionality as the DbContext scaffolded by Visual Studio. It is optional to use this base class instead of the scaffolded code when using a TableController<TData>.
Assembly: Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)
| Name | Description | |
|---|---|---|
![]() | EntityContext() | Initializes a new instance of the EntityContext with the default schema name derived from the service name. |
![]() | EntityContext(String) | Initializes a new instance of the EntityContext with a given schema. |
![]() | EntityContext(String, String) | Initializes a new instance of the EntityContext with a given schema and nameOrConnectionString. |
| Name | Description | |
|---|---|---|
![]() | ChangeTracker | (Inherited from DbContext.) |
![]() | Configuration | (Inherited from DbContext.) |
![]() | Database | (Inherited from DbContext.) |
![]() | Schema | Gets or sets the default database schema name. This default database schema name is used for database objects that do not have an explicitly configured schema name. If the schema name is null or empty then a default schema name is derived from the service name. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | (Inherited from DbContext.) |
![]() | Dispose(Boolean) | (Inherited from DbContext.) |
![]() | Entry(Object) | (Inherited from DbContext.) |
![]() | Entry<TEntity>(TEntity) | (Inherited from DbContext.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetValidationErrors() | (Inherited from DbContext.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnModelCreating(DbModelBuilder) | (Overrides DbContext.OnModelCreating(DbModelBuilder).) |
![]() | SaveChanges() | (Inherited from DbContext.) |
![]() | SaveChangesAsync() | (Inherited from DbContext.) |
![]() | SaveChangesAsync(CancellationToken) | (Inherited from DbContext.) |
![]() | Set(Type) | (Inherited from DbContext.) |
![]() | Set<TEntity>() | (Inherited from DbContext.) |
![]() | ShouldValidateEntity(DbEntityEntry) | (Inherited from DbContext.) |
![]() | ToString() | (Inherited from Object.) |
![]() | ValidateEntity(DbEntityEntry, IDictionary<Object, Object>) | (Inherited from DbContext.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)