Esempio n. 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
        }
Esempio n. 2
0
 public override void Configure(DomainOptions options)
 {
     options.UseSqlServer(GetConnectionString());
     options.UseNewtonsoftJson();
 }
Esempio n. 3
0
 public void Configure(DomainOptions options)
 {
     options.UseSqlServer("SERVER=.;DATABASE=jerrystore;TRUSTED_CONNECTION=true");
 }