Exemplo n.º 1
0
        public virtual EntityTypeCodeGenerator GetEntityTypeModelCodeGenerator(
            [NotNull]  ReverseEngineeringGenerator generator,
            [NotNull] EntityTypeGeneratorModel entityTypeGeneratorModel)
        {
            Check.NotNull(generator, nameof(generator));
            Check.NotNull(entityTypeGeneratorModel, nameof(entityTypeGeneratorModel));

            return(new SqlServerEntityTypeCodeGenerator(
                       generator,
                       entityTypeGeneratorModel.EntityType,
                       entityTypeGeneratorModel.Namespace));
        }
Exemplo n.º 2
0
 public virtual EntityTypeCodeGeneratorHelper EntityTypeCodeGeneratorHelper(EntityTypeGeneratorModel model)
 {
     return(new SqlServerEntityTypeCodeGeneratorHelper(model));
 }
 public SqlServerEntityTypeCodeGeneratorHelper(
     [NotNull] EntityTypeGeneratorModel generatorModel)
     : base(generatorModel)
 {
 }