Beispiel #1
0
        public SQLiteDbContext(string connectionString = "")
        {
            var dbFactory = new SQLiteDbFactory();

            DbHelper.ConnectionString = connectionString;
            DbHelper.DbFactory        = dbFactory;
            DbBuilder           = new SQLiteBuilder();
            DbBuilder.DbFactory = dbFactory;
        }
Beispiel #2
0
        public SQLiteDbContext(string connectionString = "")
        {
            var dbFactory = new SQLiteDbFactory();

            DbHelper.ConnectionString = connectionString;
            DbHelper.DbFactory        = dbFactory;
            DbBuilder               = new SQLiteBuilder();
            DbBuilder.DbFactory     = dbFactory;
            DbBuilder.CurrentDbType = SmartDbTypes.SQLite;
            CurrentDbType           = SmartDbTypes.SQLite;
        }