Exemplo n.º 1
0
 /// <summary>
 /// Connect to DB
 /// </summary>
 /// <param name="connString">Connection string</param>
 public MsSqlMapper(string connString)
 {
     Database = new MsSqlDatabase();
     Database.Connect(connString);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Connect to session based DB
 /// </summary>
 public MsSqlMapper()
 {
     Database = new MsSqlDatabase();
     Database.Connect(SessionProvider.Instance.ConnectionString);
 }