Beispiel #1
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public CSharpEntityTypeGenerator(
     IAnnotationCodeGenerator annotationCodeGenerator,
     ICSharpHelper cSharpHelper)
 {
     _annotationCodeGenerator = annotationCodeGenerator;
     _code = cSharpHelper;
 }
        public DBContextGenerator(
#pragma warning disable CS0618 // Type or member is obsolete
            IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
#pragma warning restore CS0618 // Type or member is obsolete
            IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
            IAnnotationCodeGenerator annotationCodeGenerator,
            ICSharpHelper cSharpHelper) : base(legacyProviderCodeGenerators, providerCodeGenerators, annotationCodeGenerator, cSharpHelper)
        {
        }
        /// <summary>
        ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
        ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
        ///     any release. You should only use it directly in your code with extreme caution and knowing that
        ///     doing so can result in application failures when updating to a new Entity Framework Core release.
        /// </summary>
        public CSharpEntityTypeGenerator(
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper)
        {
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            _annotationCodeGenerator = annotationCodeGenerator;
            _code = cSharpHelper;
        }
Beispiel #4
0
 public MyDbContextGenerator(
     IProviderConfigurationCodeGenerator providerCodeGenerators,
     IAnnotationCodeGenerator annotationCodeGenerator,
     ICSharpHelper cSharpHelper)
     : base(
         providerCodeGenerators,
         annotationCodeGenerator,
         cSharpHelper)
 {
 }
 public MyModelGenerator(
     ModelCodeGeneratorDependencies dependencies,
     IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
     IAnnotationCodeGenerator annotationCodeGenerator,
     ICSharpHelper csharpHelper)
     : base(dependencies)
 {
     _providerConfigurationCodeGenerator = providerConfigurationCodeGenerator;
     _annotationCodeGenerator            = annotationCodeGenerator;
     _csharpHelper = csharpHelper;
 }
        public CSharpSnapshotGeneratorDependencies(
            [NotNull] ICSharpHelper csharpHelper,
            [NotNull] IRelationalTypeMappingSource relationalTypeMappingSource,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator)
        {
            Check.NotNull(csharpHelper, nameof(csharpHelper));

            CSharpHelper = csharpHelper;
            RelationalTypeMappingSource = relationalTypeMappingSource;
            AnnotationCodeGenerator     = annotationCodeGenerator;
        }
 /// <summary>
 /// Constructor for the Handlebars entity types generator.
 /// </summary>
 /// <param name="entityTypeTemplateService">Template service for the entity types generator.</param>
 /// <param name="entityTypeTransformationService">Service for transforming entity definitions.</param>
 /// <param name="cSharpHelper">CSharp helper.</param>
 public HbsCSharpEntityTypeConfigurationGenerator(
     IAnnotationCodeGenerator annotationCodeGenerator,
     IEntityTypeConfigurationTemplateService entityTypeConfigurationTemplateService,
     IEntityTypeTransformationService entityTypeTransformationService,
     ICSharpHelper cSharpHelper)
 {
     CSharpHelper  = cSharpHelper ?? throw new ArgumentNullException(nameof(cSharpHelper));
     CodeGenerator = annotationCodeGenerator ?? throw new ArgumentNullException(nameof(annotationCodeGenerator));
     EntityTypeConfigurationTemplateService = entityTypeConfigurationTemplateService ?? throw new ArgumentNullException(nameof(entityTypeConfigurationTemplateService));
     EntityTypeTransformationService        = entityTypeTransformationService ?? throw new ArgumentNullException(nameof(entityTypeTransformationService));
 }
Beispiel #8
0
        public CustomCSharpDbContextGenerator(
#pragma warning disable 618
            IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
#pragma warning restore 618
            IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
            IAnnotationCodeGenerator annotationCodeGenerator,
            ICSharpHelper cSharpHelper,
            SharpDbContextGeneratorConfiguration options)
            : base(legacyProviderCodeGenerators, providerCodeGenerators, annotationCodeGenerator, cSharpHelper)
        {
            _modelsNamespace = options.ModelsNamespace;
        }
 public MyDbContextGenerator(
     IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
     IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
     IAnnotationCodeGenerator annotationCodeGenerator,
     ICSharpHelper cSharpHelper)
     : base(
         legacyProviderCodeGenerators,
         providerCodeGenerators,
         annotationCodeGenerator,
         cSharpHelper)
 {
 }
        /// <summary>
        /// Constructor for the Handlebars DbContext generator.
        /// </summary>
        /// <param name="providerCodeGenerator">Generator for scaffolding provider.</param>
        /// <param name="annotationCodeGenerator">Annotation code generator.</param>
        /// <param name="cSharpUtilities">CSharp utilities.</param>
        /// <param name="dbContextTemplateService">Template service for DbContext generator.</param>
        public HbsCSharpDbContextGenerator(
            IScaffoldingProviderCodeGenerator providerCodeGenerator,
            IAnnotationCodeGenerator annotationCodeGenerator,
            ICSharpUtilities cSharpUtilities,
            IDbContextTemplateService dbContextTemplateService)
        {
            _providerCodeGenerator   = providerCodeGenerator ?? throw new ArgumentNullException(nameof(providerCodeGenerator));
            _annotationCodeGenerator = annotationCodeGenerator ?? throw new ArgumentNullException(nameof(annotationCodeGenerator));

            CSharpUtilities          = cSharpUtilities ?? throw new ArgumentNullException(nameof(cSharpUtilities));
            DbContextTemplateService = dbContextTemplateService ?? throw new ArgumentNullException(nameof(dbContextTemplateService));
        }
        /// <summary>
        ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
        ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
        ///     any release. You should only use it directly in your code with extreme caution and knowing that
        ///     doing so can result in application failures when updating to a new Entity Framework Core release.
        /// </summary>
        public CSharpDbContextGenerator(
            IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
            IAnnotationCodeGenerator annotationCodeGenerator,
            ICSharpHelper cSharpHelper)
        {
            Check.NotNull(providerConfigurationCodeGenerator, nameof(providerConfigurationCodeGenerator));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            _providerConfigurationCodeGenerator = providerConfigurationCodeGenerator;
            _annotationCodeGenerator            = annotationCodeGenerator;
            _code = cSharpHelper;
        }
        public CSharpDbContextGeneratorBase(
            [NotNull] IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper)
        {
            Check.NotNull(providerConfigurationCodeGenerator, nameof(providerConfigurationCodeGenerator));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            this._providerConfigurationCodeGenerator = providerConfigurationCodeGenerator;
            this._annotationCodeGenerator            = annotationCodeGenerator;
            this._code = cSharpHelper;
        }
Beispiel #13
0
        /// <summary>
        ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
        ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
        ///     any release. You should only use it directly in your code with extreme caution and knowing that
        ///     doing so can result in application failures when updating to a new Entity Framework Core release.
        /// </summary>
        public CommentCSharpEntityTypeGenerator(
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper,
            bool nullableReferences,
            bool noConstructor)
        {
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            _annotationCodeGenerator = annotationCodeGenerator;
            _code = cSharpHelper;
            _nullableReferences = nullableReferences;
            _noConstructor      = noConstructor;
        }
Beispiel #14
0
        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public CSharpDbContextGenerator(
            [NotNull] IScaffoldingProviderCodeGenerator providerCodeGenerator,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpUtilities cSharpUtilities)
        {
            Check.NotNull(providerCodeGenerator, nameof(providerCodeGenerator));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            _providerCodeGenerator   = providerCodeGenerator;
            _annotationCodeGenerator = annotationCodeGenerator;
            _cSharpUtilities         = cSharpUtilities;
        }
Beispiel #15
0
 /// <summary>
 /// Constructor for the Handlebars entity types generator.
 /// </summary>
 /// <param name="annotationCodeGenerator">Annotation code generator.</param>
 /// <param name="entityTypeTemplateService">Template service for the entity types generator.</param>
 /// <param name="entityTypeTransformationService">Service for transforming entity definitions.</param>
 /// <param name="cSharpHelper">CSharp helper.</param>
 /// <param name="typeScriptHelper">TypeScript helper.</param>
 /// <param name="options">Handlebars scaffolding options.</param>
 public HbsTypeScriptEntityTypeGenerator(
     [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
     [NotNull] IEntityTypeTemplateService entityTypeTemplateService,
     [NotNull] IEntityTypeTransformationService entityTypeTransformationService,
     [NotNull] ICSharpHelper cSharpHelper,
     [NotNull] ITypeScriptHelper typeScriptHelper,
     [NotNull] IOptions <HandlebarsScaffoldingOptions> options)
     : base(annotationCodeGenerator, cSharpHelper)
 {
     EntityTypeTemplateService       = entityTypeTemplateService;
     EntityTypeTransformationService = entityTypeTransformationService;
     CSharpHelper     = cSharpHelper;
     TypeScriptHelper = typeScriptHelper;
     _options         = options;
 }
        /// <summary>
        ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
        ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
        ///     any release. You should only use it directly in your code with extreme caution and knowing that
        ///     doing so can result in application failures when updating to a new Entity Framework Core release.
        /// </summary>
        public CSharpDbContextGenerator(
            [NotNull] IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper,
            [NotNull] LoggingDefinitions loggingDefinitions)
        {
            Check.NotNull(providerConfigurationCodeGenerator, nameof(providerConfigurationCodeGenerator));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));
            Check.NotNull(loggingDefinitions, nameof(loggingDefinitions));

            _providerConfigurationCodeGenerator = providerConfigurationCodeGenerator;
            _annotationCodeGenerator            = annotationCodeGenerator;
            _code = cSharpHelper;
            _loggingDefinitions = loggingDefinitions;
        }
 /// <summary>
 /// Constructor for the Handlebars DbContext generator.
 /// </summary>
 /// <param name="providerConfigurationCodeGenerator">Generator for scaffolding provider.</param>
 /// <param name="annotationCodeGenerator">Annotation code generator.</param>
 /// <param name="cSharpHelper">CSharp helper.</param>
 /// <param name="dbContextTemplateService">Template service for DbContext generator.</param>
 /// <param name="entityTypeTransformationService">Service for transforming entity definitions.</param>
 /// <param name="options">Handlebars scaffolding options.</param>
 public HbsCSharpDbContextGenerator(
     [NotNull] IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
     [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
     [NotNull] IDbContextTemplateService dbContextTemplateService,
     [NotNull] IEntityTypeTransformationService entityTypeTransformationService,
     [NotNull] ICSharpHelper cSharpHelper,
     [NotNull] IOptions <HandlebarsScaffoldingOptions> options)
     : base(providerConfigurationCodeGenerator, annotationCodeGenerator, cSharpHelper)
 {
     ProviderConfigurationCodeGenerator = providerConfigurationCodeGenerator;
     AnnotationCodeGenerator            = annotationCodeGenerator;
     CSharpHelper                    = cSharpHelper;
     DbContextTemplateService        = dbContextTemplateService;
     EntityTypeTransformationService = entityTypeTransformationService;
     _options = options;
 }
Beispiel #18
0
        /// <summary>
        /// Constructor for the Handlebars entity types generator.
        /// </summary>
        /// <param name="annotationCodeGenerator">Annotation code generator.</param>
        /// <param name="cSharpHelper">CSharp helper.</param>
        /// <param name="entityTypeTemplateService">Template service for the entity types generator.</param>
        /// <param name="entityTypeTransformationService">Service for transforming entity definitions.</param>
        /// <param name="options">Handlebar scaffolding options.</param>
        public HbsCSharpEntityTypeGenerator(
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper,
            [NotNull] IEntityTypeTemplateService entityTypeTemplateService,
            [NotNull] IEntityTypeTransformationService entityTypeTransformationService,
            [NotNull] IOptions <HandlebarsScaffoldingOptions> options)
            : base(annotationCodeGenerator, cSharpHelper)
        {
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            AnnotationCodeGenerator         = annotationCodeGenerator;
            CSharpHelper                    = cSharpHelper;
            EntityTypeTemplateService       = entityTypeTemplateService;
            EntityTypeTransformationService = entityTypeTransformationService;
            _options = options;
        }
 public DbContextGenerator(
     IOptions <DbContextOptions> dbContextOptionsAccessor,
     TypeResolverService typeResolver,
     IProviderConfigurationCodeGenerator providerCodeGenerators,
     IAnnotationCodeGenerator annotationCodeGenerator,
     ICSharpHelper cSharpHelper
     ) : base(
         providerCodeGenerators,
         annotationCodeGenerator,
         cSharpHelper
         )
 {
     _code                        = cSharpHelper;
     dbContextOptions             = dbContextOptionsAccessor.Value;
     this.typeResolver            = typeResolver;
     this.providerCodeGenerators  = providerCodeGenerators;
     this.annotationCodeGenerator = annotationCodeGenerator;
     this.cSharpHelper            = cSharpHelper;
 }
        /// <summary>
        /// Constructor for the Handlebars DbContext generator.
        /// </summary>
        /// <param name="legacyProviderCodeGenerators">Legacy provider code generators</param>
        /// <param name="providerCodeGenerators">Generator for scaffolding provider.</param>
        /// <param name="annotationCodeGenerator">Annotation code generator.</param>
        /// <param name="dbContextTemplateService">Template service for DbContext generator.</param>
        /// <param name="cSharpHelper">CSharp helper.</param>
        public HbsCSharpDbContextGenerator(
#pragma warning disable CS0618 // Type or member is obsolete
            IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
#pragma warning restore CS0618 // Type or member is obsolete
            IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
            IAnnotationCodeGenerator annotationCodeGenerator,
            IDbContextTemplateService dbContextTemplateService,
            ICSharpHelper cSharpHelper)
        {
            if (!legacyProviderCodeGenerators.Any() && !providerCodeGenerators.Any())
            {
                throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty(nameof(providerCodeGenerators)));
            }

            _legacyProviderCodeGenerator        = legacyProviderCodeGenerators.LastOrDefault();
            _providerConfigurationCodeGenerator = providerCodeGenerators.LastOrDefault();
            _annotationCodeGenerator            = annotationCodeGenerator ?? throw new ArgumentNullException(nameof(annotationCodeGenerator));
            DbContextTemplateService            = dbContextTemplateService ?? throw new ArgumentNullException(nameof(dbContextTemplateService));
            _code = cSharpHelper ?? throw new ArgumentNullException(nameof(cSharpHelper));
        }
Beispiel #21
0
        public CSharpDbContextGeneratorBase(
            [NotNull] IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
            [NotNull] IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpHelper cSharpHelper)
        {
            Check.NotNull(legacyProviderCodeGenerators, nameof(legacyProviderCodeGenerators));
            Check.NotNull(providerCodeGenerators, nameof(providerCodeGenerators));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpHelper, nameof(cSharpHelper));

            if (!legacyProviderCodeGenerators.Any() && !providerCodeGenerators.Any())
            {
                throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty(nameof(providerCodeGenerators)));
            }

            this._legacyProviderCodeGenerator        = legacyProviderCodeGenerators.LastOrDefault();
            this._providerConfigurationCodeGenerator = providerCodeGenerators.LastOrDefault();
            this._annotationCodeGenerator            = annotationCodeGenerator;
            this._code = cSharpHelper;
        }
        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public CSharpDbContextGenerator(
#pragma warning disable CS0618 // Type or member is obsolete
            [NotNull] IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
#pragma warning restore CS0618 // Type or member is obsolete
            [NotNull] IEnumerable <IProviderCodeGenerator> providerCodeGenerators,
            [NotNull] IAnnotationCodeGenerator annotationCodeGenerator,
            [NotNull] ICSharpUtilities cSharpUtilities)
        {
            Check.NotNull(legacyProviderCodeGenerators, nameof(legacyProviderCodeGenerators));
            Check.NotNull(providerCodeGenerators, nameof(providerCodeGenerators));
            Check.NotNull(annotationCodeGenerator, nameof(annotationCodeGenerator));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            if (!legacyProviderCodeGenerators.Any() && !providerCodeGenerators.Any())
            {
                throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty(nameof(providerCodeGenerators)));
            }

            _legacyProviderCodeGenerator = legacyProviderCodeGenerators.LastOrDefault();
            _providerCodeGenerator       = providerCodeGenerators.LastOrDefault();
            _annotationCodeGenerator     = annotationCodeGenerator;
            _cSharpUtilities             = cSharpUtilities;
        }
Beispiel #23
0
        /// <summary>
        /// Constructor for the Handlebars DbContext generator.
        /// </summary>
        /// <param name="handlebarsScaffoldingOptions">Handlebars Scaffolding Options.</param>
        /// <param name="legacyProviderCodeGenerators">Legacy provider code generators.</param>
        /// <param name="providerCodeGenerators">Generator for scaffolding provider.</param>
        /// <param name="annotationCodeGenerator">Annotation code generator.</param>
        /// <param name="dbContextTemplateService">Template service for DbContext generator.</param>
        /// <param name="entityTypeTransformationService">Service for transforming entity definitions.</param>
        /// <param name="cSharpHelper">CSharp helper.</param>
        public HbsCSharpDbContextGeneratorEnhance(
#pragma warning disable CS0618 // Type or member is obsolete
            IEnumerable <IScaffoldingProviderCodeGenerator> legacyProviderCodeGenerators,
#pragma warning restore CS0618 // Type or member is obsolete
            IEnumerable <IProviderConfigurationCodeGenerator> providerCodeGenerators,
            IAnnotationCodeGenerator annotationCodeGenerator,
            IDbContextTemplateService dbContextTemplateService,
            IEntityTypeTransformationService entityTypeTransformationService,
            ICSharpHelper cSharpHelper,
            HandlebarsScaffoldingOptions handlebarsScaffoldingOptions)
        {
            if (!legacyProviderCodeGenerators.Any() && !providerCodeGenerators.Any())
            {
                throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty(nameof(providerCodeGenerators)));
            }

            HandlebarsScaffoldingOptions       = handlebarsScaffoldingOptions ?? HandlebarsScaffoldingOptions.Default;
            LegacyProviderCodeGenerator        = legacyProviderCodeGenerators.LastOrDefault();
            ProviderConfigurationCodeGenerator = providerCodeGenerators.LastOrDefault();
            CodeGenerator                   = annotationCodeGenerator ?? throw new ArgumentNullException(nameof(annotationCodeGenerator));
            DbContextTemplateService        = dbContextTemplateService ?? throw new ArgumentNullException(nameof(dbContextTemplateService));
            EntityTypeTransformationService = entityTypeTransformationService ?? throw new ArgumentNullException(nameof(entityTypeTransformationService));
            CSharpHelper = cSharpHelper ?? throw new ArgumentNullException(nameof(cSharpHelper));
        }
Beispiel #24
0
 /// <summary>
 ///     Clones this dependency parameter object with one service replaced.
 /// </summary>
 /// <param name="annotationCodeGenerator"> A replacement for the current dependency of this type. </param>
 /// <returns> A new parameter object with the given service replaced. </returns>
 public MigrationsCodeGeneratorDependencies With([NotNull] IAnnotationCodeGenerator annotationCodeGenerator)
 => new MigrationsCodeGeneratorDependencies(RelationalTypeMappingSource, annotationCodeGenerator);
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="providerConfigurationCodeGenerator"></param>
 /// <param name="annotationCodeGenerator"></param>
 /// <param name="cSharpHelper"></param>
 public CustomContextWriter([NotNullAttribute] IProviderConfigurationCodeGenerator providerConfigurationCodeGenerator,
                            [NotNullAttribute] IAnnotationCodeGenerator annotationCodeGenerator,
                            [NotNullAttribute] ICSharpHelper cSharpHelper) :
     base(providerConfigurationCodeGenerator, annotationCodeGenerator, cSharpHelper)
 {
 }
Beispiel #26
0
 public MyDbContextGenerator(IScaffoldingProviderCodeGenerator providerCodeGenerator, IAnnotationCodeGenerator annotationCodeGenerator, ICSharpUtilities cSharpUtilities)
     : base(providerCodeGenerator, annotationCodeGenerator, cSharpUtilities)
 {
 }
Beispiel #27
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="annotationCodeGenerator"></param>
 /// <param name="cSharpHelper"></param>
 public OverrideBase(IAnnotationCodeGenerator annotationCodeGenerator, ICSharpHelper CSharpHelper)
     : base(annotationCodeGenerator, CSharpHelper)
 {
 }
 public MyEntityTypeGenerator([NotNull] IAnnotationCodeGenerator annotationCodeGenerator, [NotNull] ICSharpHelper cSharpHelper) : base(annotationCodeGenerator, cSharpHelper)
 {
 }
 /// <summary>
 ///     Clones this dependency parameter object with one service replaced.
 /// </summary>
 /// <param name="annotationCodeGenerator"> A replacement for the current dependency of this type. </param>
 /// <returns> A new parameter object with the given service replaced. </returns>
 public CSharpSnapshotGeneratorDependencies With([NotNull] IAnnotationCodeGenerator annotationCodeGenerator)
 => new CSharpSnapshotGeneratorDependencies(CSharpHelper, RelationalTypeMappingSource, annotationCodeGenerator);
Beispiel #30
0
 public GEntityTypeGenerator(IAnnotationCodeGenerator annotationCodeGenerator, ICSharpHelper cSharpHelper) : base(annotationCodeGenerator, cSharpHelper)
 {
 }