Ejemplo n.º 1
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 SqlServerScaffoldingModelFactory(
     [NotNull] ILoggerFactory loggerFactory,
     [NotNull] IRelationalTypeMapper typeMapper,
     [NotNull] IDatabaseModelFactory databaseModelFactory,
     [NotNull] CandidateNamingService candidateNamingService)
     : base(loggerFactory, typeMapper, databaseModelFactory, candidateNamingService)
 {
 }
 public MySqlScaffoldingModelFactory(
     ILoggerFactory loggerFactory,
     IRelationalTypeMapper typeMapper,
     IDatabaseModelFactory databaseModelFactory,
     CandidateNamingService candidateNamingService)
     : base(loggerFactory, typeMapper, databaseModelFactory, candidateNamingService)
 {
 }
Ejemplo n.º 3
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 SqliteScaffoldingModelFactory(
     [NotNull] ILoggerFactory loggerFactory,
     [NotNull] IRelationalTypeMapper typeMapper,
     [NotNull] IDatabaseModelFactory databaseModelFactory,
     [NotNull] CandidateNamingService candidateNamingService,
     [NotNull] IPluralizer pluralizer)
     : base(loggerFactory, typeMapper, databaseModelFactory, candidateNamingService, pluralizer)
 {
 }
Ejemplo n.º 4
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 SqlServerScaffoldingModelFactory(
     [NotNull] IInterceptingLogger <LoggerCategory.Scaffolding> logger,
     [NotNull] IRelationalTypeMapper typeMapper,
     [NotNull] IDatabaseModelFactory databaseModelFactory,
     [NotNull] CandidateNamingService candidateNamingService,
     [NotNull] IPluralizer pluralizer)
     : base(logger, typeMapper, databaseModelFactory, candidateNamingService, pluralizer)
 {
 }
Ejemplo n.º 5
0
 public SqlCeScaffoldingModelFactory(
     [NotNull] IDiagnosticsLogger <LoggerCategory.Scaffolding> loggerFactory,
     [NotNull] IRelationalTypeMapper typeMapper,
     [NotNull] IDatabaseModelFactory databaseModelFactory,
     [NotNull] CandidateNamingService candidateNamingService,
     [NotNull] IPluralizer pluralizer)
     : base(loggerFactory, typeMapper, databaseModelFactory, candidateNamingService, pluralizer)
 {
 }
 public MySqlScaffoldingModelFactory(
     ILoggerFactory loggerFactory,
     IRelationalTypeMapper typeMapper,
     IDatabaseModelFactory databaseModelFactory,
     CandidateNamingService candidateNamingService)
     : base(loggerFactory, typeMapper, databaseModelFactory, candidateNamingService)
 {
     _typeMapper = typeMapper as MySqlDesignTimeScopedTypeMapper;
 }
        public RelationalScaffoldingModelFactory(
            [NotNull] ILoggerFactory loggerFactory,
            [NotNull] IRelationalTypeMapper typeMapper,
            [NotNull] IDatabaseModelFactory databaseModelFactory,
            [NotNull] CandidateNamingService candidateNamingService)
        {
            Check.NotNull(loggerFactory, nameof(loggerFactory));
            Check.NotNull(typeMapper, nameof(typeMapper));
            Check.NotNull(databaseModelFactory, nameof(databaseModelFactory));
            Check.NotNull(candidateNamingService, nameof(candidateNamingService));

            Logger = loggerFactory.CreateCommandsLogger();
            TypeMapper = typeMapper;
            CandidateNamingService = candidateNamingService;
            _databaseModelFactory = databaseModelFactory;
        }