Method | Description | |
---|---|---|
GetModelType ( string name ) : |
Gets model type.
|
|
LogQuery ( string query ) : void |
Logs a query.
|
|
SaveChangesAsync ( System cancellationToken ) : System.Threading.Tasks.Task |
Saves the changes asynchronous.
|
|
TryGetRelevantType ( string name, |
Attempts to get relevant type from the given data.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the context. The underlying T:System.Data.Entity.Core.Objects.ObjectContext is also disposed if it was created is by this context or ownership was passed to this context when this context was created. The connection to the database (T:System.Data.Common.DbConnection object) is also disposed if it was created is by this context or ownership was passed to this context when this context was created.
|
|
OnModelCreating ( DbModelBuilder modelBuilder ) : void |
This method is called when the model for a derived context has been initialized, but before the model has been locked down and used to initialize the context. The default implementation of this method does nothing, but it can be overridden in a derived class such that the model can be further configured before it is locked down.
|
Method | Description | |
---|---|---|
AddActionsToModel ( DbModelBuilder modelBuilder, DatabaseSchemaReader.DataSchema.DatabaseSchema schema, DynamicClassFactory dynamicClassFactory ) : void |
Adds the actions to model.
|
|
AddViewToModel ( DbModelBuilder modelBuilder, DynamicClassFactory dynamicClassFactory, List |
Adds a view to model.
|
|
CreateModel ( ) : DbCompiledModel |
Creates the model.
|
|
CreateType ( DynamicClassFactory dynamicClassFactory, string name, DynamicPropertyData>.Dictionary |
Creates a type.
|
|
CreateTypeAction ( DynamicClassFactory dynamicClassFactory, string name, DynamicMethodData>.Dictionary |
Creates type action.
|
|
CreateTypeBuilder ( DynamicClassFactory dynamicClassFactory, string name, DynamicPropertyData>.Dictionary |
Creates a type builder.
|
|
DynamicContext ( ) : System |
Static constructor.
|
|
GetNextID ( string sequenceScript ) : int |
Gets the next identifier.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public GetModelType ( string name ) : |
||
name | string | The name. |
return |
public LogQuery ( string query ) : void | ||
query | string | The query. |
return | void |
protected OnModelCreating ( DbModelBuilder modelBuilder ) : void | ||
modelBuilder | DbModelBuilder | The builder that defines the model for the context being created. |
return | void |
public SaveChangesAsync ( System cancellationToken ) : System.Threading.Tasks.Task |
||
cancellationToken | System | A |
return | System.Threading.Tasks.Task |
public TryGetRelevantType ( string name, |
||
name | string | The name. |
relevantType | [out] Type of the relevant. | |
return | bool |