메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public GetModelType ( string name ) : |
||
name | string | The name. |
리턴 |
protected OnModelCreating ( DbModelBuilder modelBuilder ) : void | ||
modelBuilder | DbModelBuilder | The builder that defines the model for the context being created. |
리턴 | void |
public SaveChangesAsync ( System cancellationToken ) : System.Threading.Tasks.Task |
||
cancellationToken | System | A |
리턴 | System.Threading.Tasks.Task |
public TryGetRelevantType ( string name, |
||
name | string | The name. |
relevantType | [out] Type of the relevant. | |
리턴 | bool |