public static IIdempotenceService Default()
        {
            var configuration = SqlServerSection.Configuration();

            return
                (new IdempotenceService(configuration,
                                        new ScriptProvider(configuration.ScriptFolder),
                                        DatabaseContextFactory.Default(),
                                        new DatabaseGateway()));
        }
Ejemplo n.º 2
0
 protected SqlServerSection GetSqlServerSection(string file)
 {
     return(SqlServerSection.Open(string.Format(@".\SqlServerSection\files\{0}", file)));
 }
Ejemplo n.º 3
0
 protected SqlServerSection GetSqlServerSection(string file)
 {
     return(SqlServerSection.Open(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, string.Format(@".\SqlServerSection\files\{0}", file))));
 }