| DataContext Constructor (IDbProvider, IDbConnection) |
Creates a new data context
Namespace:
SanteDB.OrmLite
Assembly:
SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax public DataContext(
IDbProvider provider,
IDbConnection connection
)
Public Sub New (
provider As IDbProvider,
connection As IDbConnection
)
public:
DataContext(
IDbProvider^ provider,
IDbConnection^ connection
)
new :
provider : IDbProvider *
connection : IDbConnection -> DataContext
Parameters
- provider
- Type: SanteDB.OrmLite.ProvidersIDbProvider
[Missing <param name="provider"/> documentation for "M:SanteDB.OrmLite.DataContext.#ctor(SanteDB.OrmLite.Providers.IDbProvider,System.Data.IDbConnection)"]
- connection
- Type: System.DataIDbConnection
[Missing <param name="connection"/> documentation for "M:SanteDB.OrmLite.DataContext.#ctor(SanteDB.OrmLite.Providers.IDbProvider,System.Data.IDbConnection)"]
See Also