예제 #1
0
        public void Init()
        {
            SqlConnectionStringBuilder csb = new SqlConnectionStringBuilder();
            csb.InitialCatalog = "TestDB";
            csb.Password = "******";
            csb.UserID = "sa";
            csb.DataSource = "localhost";

            _sut = new NovaDb(csb.ToString());
        }
예제 #2
0
 public NovaTable(NovaDb db, INovaQuery table, string identity = null)
 {
     _db = db;
     _tableQuery = table;
     _identity = identity;
 }
예제 #3
0
 public NovaTable(NovaDb db, string table, string identity = null)
 {
     _db = db;
     _tableName = table;
     _identity = identity;
 }
예제 #4
0
 public NovaTable(NovaDb db, INovaQuery table, string identity = null)
 {
     _db         = db;
     _tableQuery = table;
     _identity   = identity;
 }
예제 #5
0
 public NovaTable(NovaDb db, string table, string identity = null)
 {
     _db        = db;
     _tableName = table;
     _identity  = identity;
 }