public EntityViewFactory(CodeGenEscaper codeGenEscaper, EntityType entityType) { this.codeGenEscaper = codeGenEscaper; this.entityType = entityType; this.SetEntityConstructorViews(); this.SetEntityEntityViews(); this.SetEntityNavigationViews(); }
public MappingViewFactory( CodeGenEscaper codeGenEscaper, EntityType entityType, EdmMapping edmMapping) { this.codeGenEscaper = codeGenEscaper; this.entityType = entityType; this.edmMapping = edmMapping; this.SetMappingKeyView(); this.SetMappingPropertyViews(); this.SetMappingRelationshipForeignKeyViews(); this.SetMappingManyToManys(); }
public ReverseFactory( IGeneratorFactory generatorFactory, EntityNamespace entityNamespace, string contextName) { this.generatorFactory = generatorFactory; this.entityNamespace = entityNamespace; this.contextName = contextName; this.codeGenEscaper = new CodeGenEscaper(); this.ConceptualEntityTypes = this.generatorFactory.ConceptualItemCollection .OfType <EntityContainer>() .Single() .BaseEntitySets .OfType <EntitySet>() .Select(x => x.ElementType) .ToArray(); this.StoreEntityTypes = this.ConceptualEntityTypes .Select(x => this.generatorFactory.EdmMapping.EntityMappings[x].Item1.ElementType) .ToArray(); }
public MappingRelationshipForeignKeyViewFactory(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public MappingRelationshipForeignKeyMatcherHasOptional(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public EntityConstructorViewFactory(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public MappingPropertyViewFactory(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public EntityEntityViewFactory(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public EntityNavigationViewFactory(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }
public MappingRelationshipForeignKeyMatcherWithMany(CodeGenEscaper codeGenEscaper) { this.codeGenEscaper = codeGenEscaper; }