private void createtable(INLORMDb db) { try { db.DropTable <TestClassOne>(); } catch { } db.CreateTable <TestClassOne>(); }
private void Init(INLORMDb db) { try { db.DropTable <TestClassUser>(); } catch { } db.CreateTable <TestClassUser>(); }
private void createtable(INLORMDb db) { try { //db.DropTable<TestClassOne>(); db.CreateTable<TestClassOne>(); } catch (Exception) { } }
private void createtable(INLORMDb db) { try { //db.DropTable<TestClassOne>(); db.CreateTable <TestClassOne>(); } catch (Exception) { } }
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 }); }
private void createtable( INLORMDb db) { db.CreateTable<TestClassOne>(); }
private void createtable(INLORMDb db) { db.CreateTable <TestClassOne>(); }