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;
 }
Exemplo n.º 3
0
 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 AutoMapComponent(AutoMappingExpressions expressions, AutoMapper mapper)
 {
     this.expressions = expressions;
     this.mapper      = mapper;
 }
Exemplo n.º 7
0
 public AutoPersistenceModel(AutoMapper customAutomapper)
 {
     Expressions = new AutoMappingExpressions();
     autoMapper  = customAutomapper;
 }
Exemplo n.º 8
0
 public AutoPersistenceModel()
 {
     Expressions = new AutoMappingExpressions();
     autoMapper  = new AutoMapper(Expressions, Conventions, inlineOverrides);
 }