메소드 | 설명 | |
---|---|---|
StoredProcedureDbContext ( |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance using the existing connection to connect to a database, and initializes it from the given model. The connection will not be disposed when the context is disposed if contextOwnsConnection is
|
|
StoredProcedureDbContext ( ObjectContext objectContext, bool dbContextOwnsObjectContext ) : System.Data.Common |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance around an existing ObjectContext.
|
|
StoredProcedureDbContext ( string nameOrConnectionString, DbCompiledModel model ) : System.Data.Common |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance using the given string as the name or connection string for the database to which a connection will be made, and initializes it from the given model.
|
메소드 | 설명 | |
---|---|---|
StoredProcedureDbContext ( DbCompiledModel model ) : System.Data.Common |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance using conventions to create the name of the database to which a connection will be made, and initializes it from the given model. The by-convention name is the full name (namespace + class name) of the derived context class. See the class remarks for how this is used to create a connection.
|
|
StoredProcedureDbContext ( |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance using the existing connection to connect to a database. The connection will not be disposed when the context is disposed if contextOwnsConnection is
|
|
StoredProcedureDbContext ( string nameOrConnectionString ) : System.Data.Common |
Constructs a new Dibware.StoredProcedureFrameworkForEF.StoredProcedureDbContext instance using the given string as the name or connection string for the database to which a connection will be made.
|
protected StoredProcedureDbContext ( DbCompiledModel model ) : System.Data.Common | ||
model | DbCompiledModel | The model that will back this context. |
리턴 | System.Data.Common |
public StoredProcedureDbContext ( |
||
existingConnection | An existing connection to use for the new context. | |
model | DbCompiledModel | The model that will back this context. |
contextOwnsConnection | bool |
/// If set to |
리턴 | System.Data.Common |
protected StoredProcedureDbContext ( |
||
existingConnection | An existing connection to use for the new context. | |
contextOwnsConnection | bool |
/// If set to |
리턴 | System.Data.Common |
public StoredProcedureDbContext ( ObjectContext objectContext, bool dbContextOwnsObjectContext ) : System.Data.Common | ||
objectContext | ObjectContext | An existing ObjectContext to wrap with the new context. |
dbContextOwnsObjectContext | bool |
/// If set to |
리턴 | System.Data.Common |
protected StoredProcedureDbContext ( string nameOrConnectionString ) : System.Data.Common | ||
nameOrConnectionString | string | Either the database name or a connection string. |
리턴 | System.Data.Common |
public StoredProcedureDbContext ( string nameOrConnectionString, DbCompiledModel model ) : System.Data.Common | ||
nameOrConnectionString | string | Either the database name or a connection string. |
model | DbCompiledModel | The model that will back this context. |
리턴 | System.Data.Common |