Example #1
0
 private void createtable(INLORMDb db)
 {
     try
     {
         db.DropTable <TestClassOne>();
     }
     catch { }
     db.CreateTable <TestClassOne>();
 }
Example #2
0
 private void Init(INLORMDb db)
 {
     try
     {
         db.DropTable <TestClassUser>();
     }
     catch { }
     db.CreateTable <TestClassUser>();
 }
Example #3
0
 private void createtable(INLORMDb db)
 {
     try
     {
         //db.DropTable<TestClassOne>();
         db.CreateTable<TestClassOne>();
     }
     catch (Exception)
     {
     }
 }
Example #4
0
 private void createtable(INLORMDb db)
 {
     try
     {
         //db.DropTable<TestClassOne>();
         db.CreateTable <TestClassOne>();
     }
     catch (Exception)
     {
     }
 }
Example #5
0
 private void insertdata(INLORMDb db)
 {
     db.CreateTable <TestClassOne>();
     db.Insert <TestClassOne>(new TestClassOne()
     {
         Id = "sssss", income = 123456
     });
     db.Insert <TestClassOne>(new TestClassOne()
     {
         Id = "rrrrr", income = 789012
     });
     db.Insert <TestClassOne>(new TestClassOne()
     {
         Id = "fffff", income = 345678
     });
     db.Insert <TestClassOne>(new TestClassOne()
     {
         Id = "lllll", income = 901234
     });
     db.Insert <TestClassOne>(new TestClassOne()
     {
         Id = "alber", income = 901234
     });
 }
Example #6
0
 private void createtable( INLORMDb db)
 {
     db.CreateTable<TestClassOne>();
 }
Example #7
0
 private void createtable(INLORMDb db)
 {
     db.CreateTable <TestClassOne>();
 }