SqlServerScaffoldingModelFactory SqlServerScaffoldingModelFactory Class

Definition

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.

public class SqlServerScaffoldingModelFactory : RelationalScaffoldingModelFactory, IScaffoldingModelFactory
Public Class SqlServerScaffoldingModelFactory
    Inherits RelationalScaffoldingModelFactory
    Implements IScaffoldingModelFactory
Inheritance
System.ObjectSystem.Object
SqlServerScaffoldingModelFactorySqlServerScaffoldingModelFactory
Implements

Constructors

SqlServerScaffoldingModelFactory(ILogger, IRelationalTypeMapper, IDatabaseModelFactory, CandidateNamingService) SqlServerScaffoldingModelFactory(ILogger(Of SqlServerScaffoldingModelFactory), IRelationalTypeMapper, IDatabaseModelFactory, CandidateNamingService)

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.

public SqlServerScaffoldingModelFactory(ILogger<SqlServerScaffoldingModelFactory> logger, IRelationalTypeMapper typeMapper, IDatabaseModelFactory databaseModelFactory, CandidateNamingService candidateNamingService)
Public Sub New(logger As ILogger(Of SqlServerScaffoldingModelFactory), typeMapper As IRelationalTypeMapper, databaseModelFactory As IDatabaseModelFactory, candidateNamingService As CandidateNamingService)
Parameters

Methods

AddNavigationProperties(IMutableForeignKey) AddNavigationProperties(IMutableForeignKey)

CheckSelectionsMatched(TableSelectionSet) CheckSelectionsMatched(TableSelectionSet)

Create(String, TableSelectionSet) Create(String, TableSelectionSet)

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.

public override IModel Create(string connectionString, TableSelectionSet tableSelectionSet)
Public Overrides Function Create(connectionString As String, tableSelectionSet As TableSelectionSet) As IModel
Parameters
connectionString
System.String System.String
Returns
Overrides

CreateFromDatabaseModel(DatabaseModel) CreateFromDatabaseModel(DatabaseModel)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

ExistingIdentifiers(IEntityType) ExistingIdentifiers(IEntityType)

GetEntityTypeName(TableModel) GetEntityTypeName(TableModel)

GetHashCode() GetHashCode()

Inherited from System.Object

GetPropertyName(ColumnModel) GetPropertyName(ColumnModel)

GetType() GetType()

Inherited from System.Object

GetTypeMapping(ColumnModel) GetTypeMapping(ColumnModel)

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.

protected override RelationalTypeMapping GetTypeMapping(ColumnModel column)
Protected Overrides Function GetTypeMapping(column As ColumnModel) As RelationalTypeMapping
Parameters
Returns
Overrides

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

VisitColumn(EntityTypeBuilder, ColumnModel) VisitColumn(EntityTypeBuilder, ColumnModel)

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.

protected override PropertyBuilder VisitColumn(EntityTypeBuilder builder, ColumnModel column)
Protected Overrides Function VisitColumn(builder As EntityTypeBuilder, column As ColumnModel) As PropertyBuilder
Parameters
Returns
Overrides

VisitColumns(EntityTypeBuilder, ICollection) VisitColumns(EntityTypeBuilder, ICollection(Of ColumnModel))

VisitDatabaseModel(ModelBuilder, DatabaseModel) VisitDatabaseModel(ModelBuilder, DatabaseModel)

VisitForeignKey(ModelBuilder, ForeignKeyModel) VisitForeignKey(ModelBuilder, ForeignKeyModel)

VisitForeignKeys(ModelBuilder, IList) VisitForeignKeys(ModelBuilder, IList(Of ForeignKeyModel))

VisitIndex(EntityTypeBuilder, IndexModel) VisitIndex(EntityTypeBuilder, IndexModel)

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.

protected override IndexBuilder VisitIndex(EntityTypeBuilder builder, IndexModel index)
Protected Overrides Function VisitIndex(builder As EntityTypeBuilder, index As IndexModel) As IndexBuilder
Parameters
Returns
Overrides

VisitIndexes(EntityTypeBuilder, ICollection) VisitIndexes(EntityTypeBuilder, ICollection(Of IndexModel))

VisitPrimaryKey(EntityTypeBuilder, TableModel) VisitPrimaryKey(EntityTypeBuilder, TableModel)

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.

protected override KeyBuilder VisitPrimaryKey(EntityTypeBuilder builder, TableModel table)
Protected Overrides Function VisitPrimaryKey(builder As EntityTypeBuilder, table As TableModel) As KeyBuilder
Parameters
Returns
Overrides

VisitSequence(ModelBuilder, SequenceModel) VisitSequence(ModelBuilder, SequenceModel)

VisitSequences(ModelBuilder, ICollection) VisitSequences(ModelBuilder, ICollection(Of SequenceModel))

VisitTable(ModelBuilder, TableModel) VisitTable(ModelBuilder, TableModel)

VisitTables(ModelBuilder, ICollection) VisitTables(ModelBuilder, ICollection(Of TableModel))

Properties

CandidateNamingService CandidateNamingService

Logger Logger

TypeMapper TypeMapper