ConfigurationFactory ConfigurationFactory 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 ConfigurationFactory
Public Class ConfigurationFactory
Inheritance
System.ObjectSystem.Object
ConfigurationFactoryConfigurationFactory

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

ConfigurationFactory(IRelationalAnnotationProvider, CSharpUtilities, ScaffoldingUtilities) ConfigurationFactory(IRelationalAnnotationProvider, CSharpUtilities, ScaffoldingUtilities)

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 ConfigurationFactory(IRelationalAnnotationProvider extensionsProvider, CSharpUtilities cSharpUtilities, ScaffoldingUtilities scaffoldingUtilities)
Public Sub New(extensionsProvider As IRelationalAnnotationProvider, cSharpUtilities As CSharpUtilities, scaffoldingUtilities As ScaffoldingUtilities)
Parameters

Properties

CSharpUtilities CSharpUtilities

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 virtual CSharpUtilities CSharpUtilities { get; }
Protected Overridable ReadOnly Property CSharpUtilities As CSharpUtilities

ExtensionsProvider ExtensionsProvider

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 virtual IRelationalAnnotationProvider ExtensionsProvider { get; }
Protected Overridable ReadOnly Property ExtensionsProvider As IRelationalAnnotationProvider

ScaffoldingUtilities ScaffoldingUtilities

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 virtual ScaffoldingUtilities ScaffoldingUtilities { get; }
Protected Overridable ReadOnly Property ScaffoldingUtilities As ScaffoldingUtilities

Methods

CreateAttributeConfiguration(String, String[]) CreateAttributeConfiguration(String, String())

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 virtual AttributeConfiguration CreateAttributeConfiguration(string attributeName, params string[] attributeArguments)
Public Overridable Function CreateAttributeConfiguration(attributeName As String, ParamArray attributeArguments As String()) As AttributeConfiguration
Parameters
attributeName
System.String System.String
attributeArguments
System.String[] System.String()
Returns

CreateCustomConfiguration(String, String, String, Boolean) CreateCustomConfiguration(String, String, String, Boolean)

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 virtual CustomConfiguration CreateCustomConfiguration(string connectionString, string contextClassName, string namespace, bool useFluentApiOnly)
Public Overridable Function CreateCustomConfiguration(connectionString As String, contextClassName As String, namespace As String, useFluentApiOnly As Boolean) As CustomConfiguration
Parameters
connectionString
System.String System.String
contextClassName
System.String System.String
namespace
System.String System.String
useFluentApiOnly
System.Boolean System.Boolean
Returns

CreateEntityConfiguration(ModelConfiguration, IEntityType) CreateEntityConfiguration(ModelConfiguration, IEntityType)

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 virtual EntityConfiguration CreateEntityConfiguration(ModelConfiguration modelConfiguration, IEntityType entityType)
Public Overridable Function CreateEntityConfiguration(modelConfiguration As ModelConfiguration, entityType As IEntityType) As EntityConfiguration
Parameters
Returns

CreateFluentApiConfiguration(Boolean, String, String[]) CreateFluentApiConfiguration(Boolean, String, String())

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 virtual FluentApiConfiguration CreateFluentApiConfiguration(bool attributeEquivalentExists, string methodName, params string[] methodArguments)
Public Overridable Function CreateFluentApiConfiguration(attributeEquivalentExists As Boolean, methodName As String, ParamArray methodArguments As String()) As FluentApiConfiguration
Parameters
attributeEquivalentExists
System.Boolean System.Boolean
methodName
System.String System.String
methodArguments
System.String[] System.String()
Returns

CreateIndexConfiguration(String, Index) CreateIndexConfiguration(String, Index)

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 virtual IndexConfiguration CreateIndexConfiguration(string lambdaIdentifier, Index index)
Public Overridable Function CreateIndexConfiguration(lambdaIdentifier As String, index As Index) As IndexConfiguration
Parameters
lambdaIdentifier
System.String System.String
index
Index Index
Returns

CreateKeyFluentApiConfiguration(String, Key) CreateKeyFluentApiConfiguration(String, Key)

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 virtual KeyFluentApiConfiguration CreateKeyFluentApiConfiguration(string lambdaIdentifier, Key key)
Public Overridable Function CreateKeyFluentApiConfiguration(lambdaIdentifier As String, key As Key) As KeyFluentApiConfiguration
Parameters
lambdaIdentifier
System.String System.String
key
Key Key
Returns

CreateModelConfiguration(IModel, CustomConfiguration) CreateModelConfiguration(IModel, CustomConfiguration)

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 virtual ModelConfiguration CreateModelConfiguration(IModel model, CustomConfiguration customConfiguration)
Public Overridable Function CreateModelConfiguration(model As IModel, customConfiguration As CustomConfiguration) As ModelConfiguration
Parameters
model
IModel IModel
Returns

CreateNavigationPropertyConfiguration(String, String) CreateNavigationPropertyConfiguration(String, String)

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 virtual NavigationPropertyConfiguration CreateNavigationPropertyConfiguration(string type, string name)
Public Overridable Function CreateNavigationPropertyConfiguration(type As String, name As String) As NavigationPropertyConfiguration
Parameters
type
System.String System.String
name
System.String System.String
Returns

CreateNavigationPropertyInitializerConfiguration(String, String) CreateNavigationPropertyInitializerConfiguration(String, String)

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 virtual NavigationPropertyInitializerConfiguration CreateNavigationPropertyInitializerConfiguration(string navPropName, string principalEntityTypeName)
Public Overridable Function CreateNavigationPropertyInitializerConfiguration(navPropName As String, principalEntityTypeName As String) As NavigationPropertyInitializerConfiguration
Parameters
navPropName
System.String System.String
principalEntityTypeName
System.String System.String
Returns

CreateOptionsBuilderConfiguration(ICollection) CreateOptionsBuilderConfiguration(ICollection(Of String))

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 virtual OptionsBuilderConfiguration CreateOptionsBuilderConfiguration(ICollection<string> methodBodyLines)
Public Overridable Function CreateOptionsBuilderConfiguration(methodBodyLines As ICollection(Of String)) As OptionsBuilderConfiguration
Parameters
methodBodyLines
System.Collections.Generic.ICollection<System.String> System.Collections.Generic.ICollection(Of System.String)
Returns

CreatePropertyConfiguration(EntityConfiguration, IProperty) CreatePropertyConfiguration(EntityConfiguration, IProperty)

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 virtual PropertyConfiguration CreatePropertyConfiguration(EntityConfiguration entityConfiguration, IProperty property)
Public Overridable Function CreatePropertyConfiguration(entityConfiguration As EntityConfiguration, property As IProperty) As PropertyConfiguration
Parameters
property
IProperty IProperty
Returns

CreateRelationshipConfiguration(EntityConfiguration, IForeignKey, String, String, DeleteBehavior) CreateRelationshipConfiguration(EntityConfiguration, IForeignKey, String, String, DeleteBehavior)

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 virtual RelationshipConfiguration CreateRelationshipConfiguration(EntityConfiguration entityConfiguration, IForeignKey foreignKey, string dependentEndNavigationPropertyName, string principalEndNavigationPropertyName, DeleteBehavior onDeleteAction)
Public Overridable Function CreateRelationshipConfiguration(entityConfiguration As EntityConfiguration, foreignKey As IForeignKey, dependentEndNavigationPropertyName As String, principalEndNavigationPropertyName As String, onDeleteAction As DeleteBehavior) As RelationshipConfiguration
Parameters
dependentEndNavigationPropertyName
System.String System.String
principalEndNavigationPropertyName
System.String System.String
Returns

CreateSequenceConfiguration() CreateSequenceConfiguration()

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 virtual SequenceConfiguration CreateSequenceConfiguration()
Public Overridable Function CreateSequenceConfiguration As SequenceConfiguration
Returns