Esempio n. 1
0
        public DbContextWriter(
            [NotNull] ModelUtilities modelUtilities,
            [NotNull] CSharpUtilities cSharpUtilities)
        {
            Check.NotNull(modelUtilities, nameof(modelUtilities));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            ModelUtilities = modelUtilities;
        }
Esempio n. 2
0
        public DbContextWriter(
            [NotNull] ScaffoldingUtilities scaffoldingUtilities,
            [NotNull] CSharpUtilities cSharpUtilities)
        {
            Check.NotNull(scaffoldingUtilities, nameof(scaffoldingUtilities));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            ScaffoldingUtilities = scaffoldingUtilities;
        }
Esempio n. 3
0
        public EntityTypeWriter(
            [NotNull] ModelUtilities modelUtilities,
            [NotNull] CSharpUtilities cSharpUtilities)
        {
            Check.NotNull(modelUtilities, nameof(modelUtilities));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            ModelUtilities  = modelUtilities;
            CSharpUtilities = cSharpUtilities;
        }
Esempio n. 4
0
        public EntityTypeWriter(
            [NotNull] ScaffoldingUtilities scaffoldingUtilities,
            [NotNull] CSharpUtilities cSharpUtilities)
        {
            Check.NotNull(scaffoldingUtilities, nameof(scaffoldingUtilities));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            ScaffoldingUtilities = scaffoldingUtilities;
            CSharpUtilities      = cSharpUtilities;
        }
        public EntityTypeWriter(
            [NotNull] ModelUtilities modelUtilities,
            [NotNull] CSharpUtilities cSharpUtilities)
        {
            Check.NotNull(modelUtilities, nameof(modelUtilities));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));

            ModelUtilities = modelUtilities;
            CSharpUtilities = cSharpUtilities;
        }
Esempio n. 6
0
        public ConfigurationFactory([NotNull] IRelationalAnnotationProvider extensionsProvider,
                                    [NotNull] CSharpUtilities cSharpUtilities,
                                    [NotNull] ModelUtilities modelUtilities)
        {
            Check.NotNull(extensionsProvider, nameof(extensionsProvider));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));
            Check.NotNull(modelUtilities, nameof(modelUtilities));

            ExtensionsProvider = extensionsProvider;
            CSharpUtilities    = cSharpUtilities;
            ModelUtilities     = modelUtilities;
        }
        public ConfigurationFactory([NotNull] IRelationalAnnotationProvider extensionsProvider,
                                    [NotNull] CSharpUtilities cSharpUtilities,
                                    [NotNull] ScaffoldingUtilities scaffoldingUtilities)
        {
            Check.NotNull(extensionsProvider, nameof(extensionsProvider));
            Check.NotNull(cSharpUtilities, nameof(cSharpUtilities));
            Check.NotNull(scaffoldingUtilities, nameof(scaffoldingUtilities));

            ExtensionsProvider   = extensionsProvider;
            CSharpUtilities      = cSharpUtilities;
            ScaffoldingUtilities = scaffoldingUtilities;
        }