public static IIdempotenceService Default() { var configuration = SqlServerSection.Configuration(); return (new IdempotenceService(configuration, new ScriptProvider(configuration.ScriptFolder), DatabaseContextFactory.Default(), new DatabaseGateway())); }
protected SqlServerSection GetSqlServerSection(string file) { return(SqlServerSection.Open(string.Format(@".\SqlServerSection\files\{0}", file))); }
protected SqlServerSection GetSqlServerSection(string file) { return(SqlServerSection.Open(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, string.Format(@".\SqlServerSection\files\{0}", file)))); }