public SQLiteActivitiesStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Activities>();
 }
Ejemplo n.º 2
0
 public SQLiteAttendanceStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Attendance>();
 }
Ejemplo n.º 3
0
 public BaseStorageStore(ISQLiteDb db)
 {
     this.connection = db.GetConnection();
     this.connection.CreateTableAsync <Storage>();
 }
Ejemplo n.º 4
0
 public TodoItemService(ISQLiteDb connectionProvider)
 {
     this.ConnectionProvider = connectionProvider;
     this.Connection         = this.ConnectionProvider.GetConnection();
     this.Connection.CreateTable <BList>();
 }
Ejemplo n.º 5
0
 public SQLiteUser(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <User>();
 }
Ejemplo n.º 6
0
 public SQLiteFacturStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Facture>();
 }
Ejemplo n.º 7
0
 public SQLiteCurrencyStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Currency>();
 }
Ejemplo n.º 8
0
 /// <summary>Create table QuanLy</summary>
 /// <param name="db">The database.</param>
 /// <Modified>
 /// Name     Date         Comments
 /// quangnt2  16/03/2020   created
 /// </Modified>
 public QuanLyService(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <QuanLy>();
 }
Ejemplo n.º 9
0
 public SQLitePaymentStatusStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <PaymentStatus>();
 }
Ejemplo n.º 10
0
 public SQLiteChaqueBanStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <ChaqueBan>();
 }
 public SQLiteModuleStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Module>();
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Constructor
 /// Gets a DB Connection and creates the Joke table, if not already created
 /// </summary>
 /// <param name="db"></param>
 public SQLiteJokeStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Joke>().Wait();
 }
Ejemplo n.º 13
0
 /// <summary>Create table CongNhan</summary>
 /// <param name="db">The database.</param>
 /// <Modified>
 /// Name     Date         Comments
 /// quangnt2  16/03/2020   created
 /// </Modified>
 public CongNhanService(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <CongNhan>();
 }
 public SQLiteStudentStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Student>();
 }
 public SQLiteContactStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Contact>();
 }
Ejemplo n.º 16
0
 public SQLiteDataStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <AdminSettingsData>();
 }
Ejemplo n.º 17
0
 public SQLiteListStore(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Item>().Wait();
 }
Ejemplo n.º 18
0
 public SQLiteMethods(ISQLiteDb db)
 {
     _connection = db.GetConnection();
     _connection.CreateTableAsync <Memo>();
 }