Exemple #1
0
 public void TestCleanup()
 {
     INLORMDb mssqlDb = null;
     try
     {
         mssqlDb = new NLORMMSSQLDb( constr);
         mssqlDb.DropTable<TestClass01>();
         mssqlDb.DropTable<TestClass2>();
         mssqlDb.DropTable<TestClassDecimal>();
     }
     catch ( Exception)
     {
     }
 }
Exemple #2
0
 public void TestDropTable()
 {
     INLORMDb db = null;
     db = new NLORMMSSQLDb( constr);
     db.CreateTable<TestClass01>();
     db.DropTable<TestClass01>();
 }
Exemple #3
0
        public void TestCreatDecimalType()
        {
            INLORMDb db = new NLORMMSSQLDb( constr);
            db.CreateTable<TestClassDecimal>();

            db.DropTable<TestClassDecimal>();
        }
Exemple #4
0
        public void TestCreatbitType()
        {
            INLORMDb db = new NLORMMSSQLDb( constr);
            db.CreateTable<TestClassbit>();

            db.DropTable<TestClassbit>();
        }
Exemple #5
0
        public void TestCreatbitType()
        {
            INLORMDb db = new NLORMMSSQLDb(ConnectionString);

            db.CreateTable <TestClassbit>();

            db.DropTable <TestClassbit>();
        }
Exemple #6
0
        public void TestDropTable()
        {
            INLORMDb db = null;

            db = new NLORMMSSQLDb(ConnectionString);
            db.CreateTable <TestClass01>();
            db.DropTable <TestClass01>();
        }
Exemple #7
0
 public void TestCleanup()
 {
     try
     {
         var db = new NLORMMSSQLDb(connectionString);
         db.DropTable<TestClassOne>();
     }
     finally
     {
     }
 }
Exemple #8
0
 public void TestInitialize()
 {
     INLORMDb msdb = null;
     try
     {
         msdb = new NLORMMSSQLDb( constr);
         msdb.DropTable<TestClass01>();
         msdb.DropTable<TestClass2>();
         msdb.DropTable<TestClassDecimal>();
     }
     catch ( Exception)
     {
     }
 }