Beispiel #1
0
        public static void InitializeDomain(DomainOptions options)
        {
#if VENDOR_SQLSERVER
            options.UseSqlServer(ConnectionString);
#elif VENDOR_POSTGRES
            options.UsePostgres(ConnectionString);
#elif VENDOR_SQLITE
            options.UseSqlite(ConnectionString);
#elif VENDOR_ORACLE
            options.UseOracle(ConnectionString);
#elif VENDOR_MYSQL
            options.UseMySql(ConnectionString);
#endif
        }
 public void Configure(DomainOptions options)
 {
     options.UseSqlite("DATA SOURCE=testmvc.db");
 }
 public override void Configure(DomainOptions options)
 {
     options.UseSqlite("FILENAME=ef.db");
     options.UseEntityFrameworkCore <EntityContext>();
 }
 public override void Configure(DomainOptions options)
 {
     options.UseSqlite("DATA SOURCE=jerry_test.db");
 }
Beispiel #5
0
 public void Configure(DomainOptions options)
 {
     options.UseSqlite(this.service.ConnectionString);
 }
 public override void Configure(DomainOptions options)
 {
     options.UseSqlite(GetConnectionString());
 }