public ObjectRelationalMapper(IPatternsHolder patterns, IExplicitDeclarationsHolder explicitDeclarations) { if (patterns == null) { throw new ArgumentNullException("patterns"); } if (explicitDeclarations == null) { throw new ArgumentNullException("explicitDeclarations"); } Patterns = patterns; this.explicitDeclarations = explicitDeclarations; }
public ObjectRelationalMapper(IPatternsHolder patterns) : this(patterns, new ExplicitDeclarationsHolder()) { }