public FileRepositoryConfigBuilder(string rootPathFolder) { if (rootPathFolder == null) throw new ArgumentNullException("rootPathFolder"); this.rootPathFolder = rootPathFolder; this.fileExtension = ".txt"; this.delimitor = string.Empty; this.fieldQualifier = string.Empty; this.indexes = new List<IIndex>(); this.nextIdStrategy = new SmartNextIdRetreiver(); this.setIdStrategy = new SmartEntityIdSetter(); this.outputConventions = new List<IOutputConvention>(); this.entityPropertiesForFiles = new Cache<Type, EntityPropertiesForFile>(); }
public FileRepositoryConfigBuilder WithNextIdStrategy(INextIdStrategy newValue) { this.nextIdStrategy = newValue; return this; }