public virtual IEnumerable<IAutomappingStep> GetMappingSteps(AutoMapper mapper, IConventionFinder conventionFinder) { return new IAutomappingStep[] { new IdentityStep(this), new VersionStep(this), new ComponentStep(this, mapper), new PropertyStep(conventionFinder, this), new HasManyToManyStep(this), new ReferenceStep(this), new HasManyStep(this) }; }
public AutomappedComponentResolver(AutoMapper mapper, IAutomappingConfiguration cfg) { this.mapper = mapper; this.cfg = cfg; }
public AutoMapComponent(AutoMappingExpressions expressions, AutoMapper mapper) { this.expressions = expressions; this.mapper = mapper; }
public AutoPersistenceModel(IAutomappingConfiguration cfg) { this.cfg = cfg; autoMapper = new AutoMapper(cfg, Conventions, inlineOverrides); }
public AutoPersistenceModel() { expressions = new AutoMappingExpressions(); cfg = new ExpressionBasedAutomappingConfiguration(expressions); autoMapper = new AutoMapper(cfg, Conventions, inlineOverrides); }
public AutoPersistenceModel(AutoMapper customAutomapper) { Expressions = new AutoMappingExpressions(); autoMapper = customAutomapper; }
public AutoPersistenceModel() { Expressions = new AutoMappingExpressions(); autoMapper = new AutoMapper(Expressions, Conventions, inlineOverrides); }