public SqlDenormalizer() { connectionStringRetriever = ServiceLocator.Current.Resolve<IConnectionStringRetriever>(); updateValuesBuilder = new UpdatableValuesBuilder(connectionStringRetriever); var tableNameCalculator = new TableNameCalculator(); tableName = tableNameCalculator.GetTheTableName(GetType()); }
/// <summary> /// Initializes a new instance of the <see cref="MongoTarget" /> class. /// </summary> public MongoTarget([NotNull] IConnectionStringRetriever connectionStringRetriever, [NotNull] IEventsWriter eventsWriter, [NotNull] IInternalLogger internalLogger) { if (connectionStringRetriever == null) { throw new ArgumentNullException(nameof(connectionStringRetriever)); } if (eventsWriter == null) { throw new ArgumentNullException(nameof(eventsWriter)); } if (internalLogger == null) { throw new ArgumentNullException(nameof(internalLogger)); } Fields = new List <MongoField>(); Properties = new List <MongoField>(); IncludeDefaults = true; _connectionStringRetriever = connectionStringRetriever; _eventsWriter = eventsWriter; _internalLogger = internalLogger; }
public CreateSectionNodeProviderTableBlade(IConnectionStringRetriever connectionStringRetriever) { this.connectionStringRetriever = connectionStringRetriever; }
public CreateTreeNodeTableBlade(IConnectionStringRetriever connectionStringRetriever) { this.connectionStringRetriever = connectionStringRetriever; }
public CreateContentNodeProviderTablesBlade(IConnectionStringRetriever connectionStringRetriever) { this.connectionStringRetriever = connectionStringRetriever; }
public UpdatableValuesBuilder(IConnectionStringRetriever connectionStringRetriever) { this.connectionStringRetriever = connectionStringRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="MongoTarget" /> class. /// </summary> public TestTarget([NotNull] IConnectionStringRetriever connectionStringRetriever, [NotNull] IEventsWriter eventsWriter, [NotNull] IInternalLogger internalLogger) : base(connectionStringRetriever, eventsWriter, internalLogger) { }
public DatabaseRetriever(IConnectionStringRetriever connectionStringRetriever) { this.connectionStringRetriever = connectionStringRetriever; }