Appearance
Get Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
IDatabaseSession Get(DatabaseConfig config, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null)
csharp
IDatabaseSession Get(DatabaseConfig config, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null)Obtain a database session.
IDatabaseSession Get(DatabaseType dbType, string connectionString, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null, LogConfig logConfig = null)
csharp
IDatabaseSession Get(DatabaseType dbType, string connectionString, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null, LogConfig logConfig = null)Obtain session connection to a database
IDatabaseSession Get(string dbType, string connectionString, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null, LogConfig logConfig = null)
csharp
IDatabaseSession Get(string dbType, string connectionString, ISqlGeneratorOptions sqlGeneratorOptions = null, string database = null, bool openConnection = null, LogConfig logConfig = null)Obtain session connection to a database