EntityType EntityType 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 EntityType : TypeBase, IMutableEntityType, IEntityType, IMutableTypeBase, ITypeBase, IMutableAnnotatable, IAnnotatable
Public Class EntityType
    Inherits TypeBase
    Implements IMutableEntityType, IEntityType, IMutableTypeBase, ITypeBase, IMutableAnnotatable, IAnnotatable
Inheritance
Implements

Constructors

EntityType(String, Model, ConfigurationSource) EntityType(String, Model, ConfigurationSource)

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 EntityType(string name, Model model, ConfigurationSource configurationSource)
Public Sub New(name As String, model As Model, configurationSource As ConfigurationSource)
Parameters
name
System.String System.String
model
Model Model

EntityType(Type, Model, ConfigurationSource) EntityType(Type, Model, ConfigurationSource)

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 EntityType(Type clrType, Model model, ConfigurationSource configurationSource)
Public Sub New(clrType As Type, model As Model, configurationSource As ConfigurationSource)
Parameters
clrType
System.Type System.Type
model
Model Model

Properties

BaseType BaseType

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 EntityType BaseType { get; }
Public Overridable ReadOnly Property BaseType As EntityType

Builder Builder

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 InternalEntityTypeBuilder Builder { get; set; }
Public Overridable Property Builder As InternalEntityTypeBuilder

ChangeTrackingStrategy ChangeTrackingStrategy

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 ChangeTrackingStrategy ChangeTrackingStrategy { get; set; }
Public Overridable Property ChangeTrackingStrategy As ChangeTrackingStrategy

ClrType ClrType

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.

(Inherited from TypeBase)

Counts Counts

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 PropertyCounts Counts { get; }
Public Overridable ReadOnly Property Counts As PropertyCounts

DebugView DebugView

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 DebugView<EntityType> DebugView { get; }
Public Overridable ReadOnly Property DebugView As DebugView(Of EntityType)

EmptyShadowValuesFactory EmptyShadowValuesFactory

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 Func<ISnapshot> EmptyShadowValuesFactory { get; }
Public Overridable ReadOnly Property EmptyShadowValuesFactory As Func(Of ISnapshot)
Value
System.Func<ISnapshot> System.Func(Of ISnapshot)

Item[String] Item(String)

Gets the value annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

ITypeBase.ClrType Microsoft.EntityFrameworkCore.Metadata.ITypeBase.ClrType

Inherited from TypeBase

Model Model

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.

(Inherited from TypeBase)

Name Name

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.

(Inherited from TypeBase)

OriginalValuesFactory OriginalValuesFactory

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 Func<InternalEntityEntry, ISnapshot> OriginalValuesFactory { get; }
Public Overridable ReadOnly Property OriginalValuesFactory As Func(Of InternalEntityEntry, ISnapshot)
Value
System.Func<InternalEntityEntry, ISnapshot> System.Func(Of InternalEntityEntry, ISnapshot)

RelationshipSnapshotFactory RelationshipSnapshotFactory

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 Func<InternalEntityEntry, ISnapshot> RelationshipSnapshotFactory { get; }
Public Overridable ReadOnly Property RelationshipSnapshotFactory As Func(Of InternalEntityEntry, ISnapshot)
Value
System.Func<InternalEntityEntry, ISnapshot> System.Func(Of InternalEntityEntry, ISnapshot)

ShadowValuesFactory ShadowValuesFactory

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 Func<ValueBuffer, ISnapshot> ShadowValuesFactory { get; }
Public Overridable ReadOnly Property ShadowValuesFactory As Func(Of ValueBuffer, ISnapshot)
Value
System.Func<ValueBuffer, ISnapshot> System.Func(Of ValueBuffer, ISnapshot)

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

AddAnnotation(String, Object) AddAnnotation(String, Object)

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.

(Inherited from ConventionalAnnotatable)

AddAnnotation(String, Object, ConfigurationSource) AddAnnotation(String, Object, ConfigurationSource)

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.

(Inherited from ConventionalAnnotatable)

AddForeignKey(IReadOnlyList, Key, EntityType, Nullable, Boolean) AddForeignKey(IReadOnlyList(Of Property), Key, EntityType, Nullable(Of ConfigurationSource), 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 ForeignKey AddForeignKey(IReadOnlyList<Property> properties, Key principalKey, EntityType principalEntityType, ConfigurationSource? configurationSource, bool runConventions = true)
Public Overridable Function AddForeignKey(properties As IReadOnlyList(Of  Property), principalKey As Key, principalEntityType As EntityType, configurationSource As ConfigurationSource?, runConventions As Boolean = True) As ForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalKey
Key Key
principalEntityType
EntityType EntityType
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
runConventions
System.Boolean System.Boolean
Returns

AddForeignKey(Property, Key, EntityType, ConfigurationSource) AddForeignKey(Property, Key, EntityType, ConfigurationSource)

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 ForeignKey AddForeignKey(Property property, Key principalKey, EntityType principalEntityType, ConfigurationSource configurationSource = ConfigurationSource.Explicit)
Public Overridable Function AddForeignKey(property As  Property, principalKey As Key, principalEntityType As EntityType, configurationSource As ConfigurationSource = ConfigurationSource.Explicit) As ForeignKey
Parameters
property
Property Property
principalKey
Key Key
principalEntityType
EntityType EntityType
Returns

AddIndex(IReadOnlyList, ConfigurationSource) AddIndex(IReadOnlyList(Of Property), ConfigurationSource)

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 Index AddIndex(IReadOnlyList<Property> properties, ConfigurationSource configurationSource = ConfigurationSource.Explicit)
Public Overridable Function AddIndex(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource = ConfigurationSource.Explicit) As Index
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

AddIndex(Property, ConfigurationSource) AddIndex(Property, ConfigurationSource)

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 Index AddIndex(Property property, ConfigurationSource configurationSource = ConfigurationSource.Explicit)
Public Overridable Function AddIndex(property As  Property, configurationSource As ConfigurationSource = ConfigurationSource.Explicit) As Index
Parameters
property
Property Property
Returns

AddKey(IReadOnlyList, ConfigurationSource) AddKey(IReadOnlyList(Of Property), ConfigurationSource)

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 Key AddKey(IReadOnlyList<Property> properties, ConfigurationSource configurationSource = ConfigurationSource.Explicit)
Public Overridable Function AddKey(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource = ConfigurationSource.Explicit) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

AddKey(Property, ConfigurationSource) AddKey(Property, ConfigurationSource)

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 Key AddKey(Property property, ConfigurationSource configurationSource = ConfigurationSource.Explicit)
Public Overridable Function AddKey(property As  Property, configurationSource As ConfigurationSource = ConfigurationSource.Explicit) As Key
Parameters
property
Property Property
Returns

AddNavigation(PropertyInfo, ForeignKey, Boolean) AddNavigation(PropertyInfo, ForeignKey, 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 Navigation AddNavigation(PropertyInfo navigationProperty, ForeignKey foreignKey, bool pointsToPrincipal)
Public Overridable Function AddNavigation(navigationProperty As PropertyInfo, foreignKey As ForeignKey, pointsToPrincipal As Boolean) As Navigation
Parameters
navigationProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
foreignKey
ForeignKey ForeignKey
pointsToPrincipal
System.Boolean System.Boolean
Returns

AddNavigation(String, ForeignKey, Boolean) AddNavigation(String, ForeignKey, 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 Navigation AddNavigation(string name, ForeignKey foreignKey, bool pointsToPrincipal)
Public Overridable Function AddNavigation(name As String, foreignKey As ForeignKey, pointsToPrincipal As Boolean) As Navigation
Parameters
name
System.String System.String
foreignKey
ForeignKey ForeignKey
pointsToPrincipal
System.Boolean System.Boolean
Returns

AddProperty(MemberInfo, ConfigurationSource, Boolean) AddProperty(MemberInfo, ConfigurationSource, 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 Property AddProperty(MemberInfo memberInfo, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function AddProperty(memberInfo As MemberInfo, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As 
Parameters
memberInfo
System.Reflection.MemberInfo System.Reflection.MemberInfo
runConventions
System.Boolean System.Boolean
Returns

AddProperty(String, Type, ConfigurationSource, Boolean) AddProperty(String, Type, ConfigurationSource, 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 Property AddProperty(string name, Type propertyType = null, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function AddProperty(name As String, propertyType As Type = Nothing, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As 
Parameters
name
System.String System.String
propertyType
System.Type System.Type
runConventions
System.Boolean System.Boolean
Returns

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

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.

(Inherited from ConventionalAnnotatable)

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindAnnotation(String) FindAnnotation(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.

(Inherited from ConventionalAnnotatable)

FindDeclaredForeignKey(IReadOnlyList, IKey, IEntityType) FindDeclaredForeignKey(IReadOnlyList(Of IProperty), IKey, 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 ForeignKey FindDeclaredForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Public Overridable Function FindDeclaredForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As ForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

FindDeclaredForeignKeys(IReadOnlyList) FindDeclaredForeignKeys(IReadOnlyList(Of 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 IEnumerable<ForeignKey> FindDeclaredForeignKeys(IReadOnlyList<IProperty> properties)
Public Overridable Function FindDeclaredForeignKeys(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindDeclaredIgnoredMemberConfigurationSource(String) FindDeclaredIgnoredMemberConfigurationSource(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.

(Inherited from TypeBase)

FindDeclaredIndex(IReadOnlyList) FindDeclaredIndex(IReadOnlyList(Of 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 Index FindDeclaredIndex(IReadOnlyList<IProperty> properties)
Public Overridable Function FindDeclaredIndex(properties As IReadOnlyList(Of IProperty)) As Index
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

FindDeclaredKey(IReadOnlyList) FindDeclaredKey(IReadOnlyList(Of 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 Key FindDeclaredKey(IReadOnlyList<IProperty> properties)
Public Overridable Function FindDeclaredKey(properties As IReadOnlyList(Of IProperty)) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

FindDeclaredNavigation(String) FindDeclaredNavigation(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 Navigation FindDeclaredNavigation(string name)
Public Overridable Function FindDeclaredNavigation(name As String) As Navigation
Parameters
name
System.String System.String
Returns

FindDeclaredPrimaryKey() FindDeclaredPrimaryKey()

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 Key FindDeclaredPrimaryKey()
Public Overridable Function FindDeclaredPrimaryKey As Key
Returns

FindDeclaredProperty(String) FindDeclaredProperty(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 Property FindDeclaredProperty(string propertyName)
Public Overridable Function FindDeclaredProperty(propertyName As String) As 
Parameters
propertyName
System.String System.String
Returns

FindDerivedForeignKeys(IReadOnlyList) FindDerivedForeignKeys(IReadOnlyList(Of 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 IEnumerable<ForeignKey> FindDerivedForeignKeys(IReadOnlyList<IProperty> properties)
Public Overridable Function FindDerivedForeignKeys(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindDerivedForeignKeys(IReadOnlyList, IKey, IEntityType) FindDerivedForeignKeys(IReadOnlyList(Of IProperty), IKey, 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 IEnumerable<ForeignKey> FindDerivedForeignKeys(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Public Overridable Function FindDerivedForeignKeys(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindDerivedIndexes(IReadOnlyList) FindDerivedIndexes(IReadOnlyList(Of 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 IEnumerable<Index> FindDerivedIndexes(IReadOnlyList<IProperty> properties)
Public Overridable Function FindDerivedIndexes(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of Index)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

FindDerivedNavigations(String) FindDerivedNavigations(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 IEnumerable<Navigation> FindDerivedNavigations(string navigationName)
Public Overridable Function FindDerivedNavigations(navigationName As String) As IEnumerable(Of Navigation)
Parameters
navigationName
System.String System.String
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

FindDerivedProperties(String) FindDerivedProperties(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 IEnumerable<Property> FindDerivedProperties(string propertyName)
Public Overridable Function FindDerivedProperties(propertyName As String) As IEnumerable(Of  Property)
Parameters
propertyName
System.String System.String
Returns
System.Collections.Generic.IEnumerable<Property> System.Collections.Generic.IEnumerable(Of Property)

FindForeignKey(IProperty, IKey, IEntityType) FindForeignKey(IProperty, IKey, 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 ForeignKey FindForeignKey(IProperty property, IKey principalKey, IEntityType principalEntityType)
Public Overridable Function FindForeignKey(property As IProperty, principalKey As IKey, principalEntityType As IEntityType) As ForeignKey
Parameters
property
IProperty IProperty
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

FindForeignKey(IReadOnlyList, IKey, IEntityType) FindForeignKey(IReadOnlyList(Of IProperty), IKey, 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 ForeignKey FindForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Public Overridable Function FindForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As ForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

FindForeignKeys(IProperty) FindForeignKeys(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 IEnumerable<ForeignKey> FindForeignKeys(IProperty property)
Public Overridable Function FindForeignKeys(property As IProperty) As IEnumerable(Of ForeignKey)
Parameters
property
IProperty IProperty
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindForeignKeys(IReadOnlyList) FindForeignKeys(IReadOnlyList(Of 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 IEnumerable<ForeignKey> FindForeignKeys(IReadOnlyList<IProperty> properties)
Public Overridable Function FindForeignKeys(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindForeignKeysInHierarchy(IReadOnlyList) FindForeignKeysInHierarchy(IReadOnlyList(Of 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 IEnumerable<ForeignKey> FindForeignKeysInHierarchy(IReadOnlyList<IProperty> properties)
Public Overridable Function FindForeignKeysInHierarchy(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindForeignKeysInHierarchy(IReadOnlyList, IKey, IEntityType) FindForeignKeysInHierarchy(IReadOnlyList(Of IProperty), IKey, 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 IEnumerable<ForeignKey> FindForeignKeysInHierarchy(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Public Overridable Function FindForeignKeysInHierarchy(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As IEnumerable(Of ForeignKey)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

FindIgnoredMemberConfigurationSource(String) FindIgnoredMemberConfigurationSource(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 override ConfigurationSource? FindIgnoredMemberConfigurationSource(string name)
Public Overrides Function FindIgnoredMemberConfigurationSource(name As String) As ConfigurationSource?
Parameters
name
System.String System.String
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
Overrides

FindIndex(IProperty) FindIndex(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 Index FindIndex(IProperty property)
Public Overridable Function FindIndex(property As IProperty) As Index
Parameters
property
IProperty IProperty
Returns

FindIndex(IReadOnlyList) FindIndex(IReadOnlyList(Of 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 Index FindIndex(IReadOnlyList<IProperty> properties)
Public Overridable Function FindIndex(properties As IReadOnlyList(Of IProperty)) As Index
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

FindIndexesInHierarchy(IReadOnlyList) FindIndexesInHierarchy(IReadOnlyList(Of 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 IEnumerable<Index> FindIndexesInHierarchy(IReadOnlyList<IProperty> properties)
Public Overridable Function FindIndexesInHierarchy(properties As IReadOnlyList(Of IProperty)) As IEnumerable(Of Index)
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

FindKey(IProperty) FindKey(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 Key FindKey(IProperty property)
Public Overridable Function FindKey(property As IProperty) As Key
Parameters
property
IProperty IProperty
Returns

FindKey(IReadOnlyList) FindKey(IReadOnlyList(Of 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 Key FindKey(IReadOnlyList<IProperty> properties)
Public Overridable Function FindKey(properties As IReadOnlyList(Of IProperty)) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

FindNavigation(PropertyInfo) FindNavigation(PropertyInfo)

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 Navigation FindNavigation(PropertyInfo propertyInfo)
Public Overridable Function FindNavigation(propertyInfo As PropertyInfo) As Navigation
Parameters
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

FindNavigation(String) FindNavigation(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 Navigation FindNavigation(string name)
Public Overridable Function FindNavigation(name As String) As Navigation
Parameters
name
System.String System.String
Returns

FindNavigationsInHierarchy(String) FindNavigationsInHierarchy(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 IEnumerable<Navigation> FindNavigationsInHierarchy(string propertyName)
Public Overridable Function FindNavigationsInHierarchy(propertyName As String) As IEnumerable(Of Navigation)
Parameters
propertyName
System.String System.String
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

FindPrimaryKey() FindPrimaryKey()

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 Key FindPrimaryKey()
Public Overridable Function FindPrimaryKey As Key
Returns

FindPrimaryKey(IReadOnlyList) FindPrimaryKey(IReadOnlyList(Of Property))

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 Key FindPrimaryKey(IReadOnlyList<Property> properties)
Public Overridable Function FindPrimaryKey(properties As IReadOnlyList(Of  Property)) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

FindPropertiesInHierarchy(String) FindPropertiesInHierarchy(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 IEnumerable<Property> FindPropertiesInHierarchy(string propertyName)
Public Overridable Function FindPropertiesInHierarchy(propertyName As String) As IEnumerable(Of  Property)
Parameters
propertyName
System.String System.String
Returns
System.Collections.Generic.IEnumerable<Property> System.Collections.Generic.IEnumerable(Of Property)

FindProperty(PropertyInfo) FindProperty(PropertyInfo)

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 Property FindProperty(PropertyInfo propertyInfo)
Public Overridable Function FindProperty(propertyInfo As PropertyInfo) As 
Parameters
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

FindProperty(String) FindProperty(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 Property FindProperty(string name)
Public Overridable Function FindProperty(name As String) As 
Parameters
name
System.String System.String
Returns

GetAnnotations() GetAnnotations()

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.

(Inherited from ConventionalAnnotatable)

GetBaseTypeConfigurationSource() GetBaseTypeConfigurationSource()

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 ConfigurationSource? GetBaseTypeConfigurationSource()
Public Overridable Function GetBaseTypeConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetConfigurationSource() GetConfigurationSource()

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.

(Inherited from TypeBase)

GetDeclaredForeignKeys() GetDeclaredForeignKeys()

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 IEnumerable<ForeignKey> GetDeclaredForeignKeys()
Public Overridable Function GetDeclaredForeignKeys As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetDeclaredIndexes() GetDeclaredIndexes()

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 IEnumerable<Index> GetDeclaredIndexes()
Public Overridable Function GetDeclaredIndexes As IEnumerable(Of Index)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

GetDeclaredKeys() GetDeclaredKeys()

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 IEnumerable<Key> GetDeclaredKeys()
Public Overridable Function GetDeclaredKeys As IEnumerable(Of Key)
Returns
System.Collections.Generic.IEnumerable<Key> System.Collections.Generic.IEnumerable(Of Key)

GetDeclaredNavigations() GetDeclaredNavigations()

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 IEnumerable<Navigation> GetDeclaredNavigations()
Public Overridable Function GetDeclaredNavigations As IEnumerable(Of Navigation)
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

GetDeclaredProperties() GetDeclaredProperties()

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 IEnumerable<Property> GetDeclaredProperties()
Public Overridable Function GetDeclaredProperties As IEnumerable(Of  Property)
Returns
System.Collections.Generic.IEnumerable<Property> System.Collections.Generic.IEnumerable(Of Property)

GetDeclaredReferencingForeignKeys() GetDeclaredReferencingForeignKeys()

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 IEnumerable<ForeignKey> GetDeclaredReferencingForeignKeys()
Public Overridable Function GetDeclaredReferencingForeignKeys As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetDerivedForeignKeys() GetDerivedForeignKeys()

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 IEnumerable<ForeignKey> GetDerivedForeignKeys()
Public Overridable Function GetDerivedForeignKeys As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetDerivedForeignKeysInclusive() GetDerivedForeignKeysInclusive()

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 IEnumerable<ForeignKey> GetDerivedForeignKeysInclusive()
Public Overridable Function GetDerivedForeignKeysInclusive As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetDerivedIndexes() GetDerivedIndexes()

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 IEnumerable<Index> GetDerivedIndexes()
Public Overridable Function GetDerivedIndexes As IEnumerable(Of Index)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

GetDerivedIndexesInclusive() GetDerivedIndexesInclusive()

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 IEnumerable<Index> GetDerivedIndexesInclusive()
Public Overridable Function GetDerivedIndexesInclusive As IEnumerable(Of Index)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

GetDerivedTypes() GetDerivedTypes()

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 IEnumerable<EntityType> GetDerivedTypes()
Public Overridable Function GetDerivedTypes As IEnumerable(Of EntityType)
Returns
System.Collections.Generic.IEnumerable<EntityType> System.Collections.Generic.IEnumerable(Of EntityType)

GetDerivedTypesInclusive() GetDerivedTypesInclusive()

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 IEnumerable<EntityType> GetDerivedTypesInclusive()
Public Overridable Function GetDerivedTypesInclusive As IEnumerable(Of EntityType)
Returns
System.Collections.Generic.IEnumerable<EntityType> System.Collections.Generic.IEnumerable(Of EntityType)

GetDirectlyDerivedTypes() GetDirectlyDerivedTypes()

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 ISet<EntityType> GetDirectlyDerivedTypes()
Public Overridable Function GetDirectlyDerivedTypes As ISet(Of EntityType)
Returns
ISet<EntityType> ISet(Of EntityType)

GetForeignKeys() GetForeignKeys()

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 IEnumerable<ForeignKey> GetForeignKeys()
Public Overridable Function GetForeignKeys As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetHashCode() GetHashCode()

Inherited from System.Object

GetIgnoredMembers() GetIgnoredMembers()

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.

(Inherited from TypeBase)

GetIndexes() GetIndexes()

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 IEnumerable<Index> GetIndexes()
Public Overridable Function GetIndexes As IEnumerable(Of Index)
Returns
System.Collections.Generic.IEnumerable<Index> System.Collections.Generic.IEnumerable(Of Index)

GetKeys() GetKeys()

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 IEnumerable<Key> GetKeys()
Public Overridable Function GetKeys As IEnumerable(Of Key)
Returns
System.Collections.Generic.IEnumerable<Key> System.Collections.Generic.IEnumerable(Of Key)

GetNavigations() GetNavigations()

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 IEnumerable<Navigation> GetNavigations()
Public Overridable Function GetNavigations As IEnumerable(Of Navigation)
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

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.

(Inherited from ConventionalAnnotatable)

GetOrAddForeignKey(IReadOnlyList, Key, EntityType) GetOrAddForeignKey(IReadOnlyList(Of Property), Key, EntityType)

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 ForeignKey GetOrAddForeignKey(IReadOnlyList<Property> properties, Key principalKey, EntityType principalEntityType)
Public Overridable Function GetOrAddForeignKey(properties As IReadOnlyList(Of  Property), principalKey As Key, principalEntityType As EntityType) As ForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalKey
Key Key
principalEntityType
EntityType EntityType
Returns

GetOrAddForeignKey(Property, Key, EntityType) GetOrAddForeignKey(Property, Key, EntityType)

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 ForeignKey GetOrAddForeignKey(Property property, Key principalKey, EntityType principalEntityType)
Public Overridable Function GetOrAddForeignKey(property As  Property, principalKey As Key, principalEntityType As EntityType) As ForeignKey
Parameters
property
Property Property
principalKey
Key Key
principalEntityType
EntityType EntityType
Returns

GetOrAddIndex(IReadOnlyList) GetOrAddIndex(IReadOnlyList(Of Property))

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 Index GetOrAddIndex(IReadOnlyList<Property> properties)
Public Overridable Function GetOrAddIndex(properties As IReadOnlyList(Of  Property)) As Index
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

GetOrAddIndex(Property) GetOrAddIndex(Property)

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 Index GetOrAddIndex(Property property)
Public Overridable Function GetOrAddIndex(property As  Property) As Index
Parameters
property
Property Property
Returns

GetOrAddKey(IReadOnlyList) GetOrAddKey(IReadOnlyList(Of Property))

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 Key GetOrAddKey(IReadOnlyList<Property> properties)
Public Overridable Function GetOrAddKey(properties As IReadOnlyList(Of  Property)) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

GetOrAddKey(Property) GetOrAddKey(Property)

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 Key GetOrAddKey(Property property)
Public Overridable Function GetOrAddKey(property As  Property) As Key
Parameters
property
Property Property
Returns

GetOrAddProperty(PropertyInfo) GetOrAddProperty(PropertyInfo)

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 Property GetOrAddProperty(PropertyInfo propertyInfo)
Public Overridable Function GetOrAddProperty(propertyInfo As PropertyInfo) As 
Parameters
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

GetOrAddProperty(String, Type) GetOrAddProperty(String, Type)

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 Property GetOrAddProperty(string name, Type propertyType)
Public Overridable Function GetOrAddProperty(name As String, propertyType As Type) As 
Parameters
name
System.String System.String
propertyType
System.Type System.Type
Returns

GetOrSetPrimaryKey(IReadOnlyList) GetOrSetPrimaryKey(IReadOnlyList(Of Property))

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 Key GetOrSetPrimaryKey(IReadOnlyList<Property> properties)
Public Overridable Function GetOrSetPrimaryKey(properties As IReadOnlyList(Of  Property)) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

GetOrSetPrimaryKey(Property) GetOrSetPrimaryKey(Property)

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 Key GetOrSetPrimaryKey(Property property)
Public Overridable Function GetOrSetPrimaryKey(property As  Property) As Key
Parameters
property
Property Property
Returns

GetPrimaryKeyConfigurationSource() GetPrimaryKeyConfigurationSource()

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 ConfigurationSource? GetPrimaryKeyConfigurationSource()
Public Overridable Function GetPrimaryKeyConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetProperties() GetProperties()

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 IEnumerable<Property> GetProperties()
Public Overridable Function GetProperties As IEnumerable(Of  Property)
Returns
System.Collections.Generic.IEnumerable<Property> System.Collections.Generic.IEnumerable(Of Property)

GetReferencingForeignKeys() GetReferencingForeignKeys()

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 IEnumerable<ForeignKey> GetReferencingForeignKeys()
Public Overridable Function GetReferencingForeignKeys As IEnumerable(Of ForeignKey)
Returns
System.Collections.Generic.IEnumerable<ForeignKey> System.Collections.Generic.IEnumerable(Of ForeignKey)

GetType() GetType()

Inherited from System.Object

HasBaseType(EntityType, ConfigurationSource, Boolean) HasBaseType(EntityType, ConfigurationSource, 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 void HasBaseType(EntityType entityType, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Sub HasBaseType(entityType As EntityType, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True)
Parameters
entityType
EntityType EntityType
runConventions
System.Boolean System.Boolean

Ignore(String, ConfigurationSource, Boolean) Ignore(String, ConfigurationSource, 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.

(Inherited from TypeBase)

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Runs the conventions when an annotation was set or removed.

protected override Annotation OnAnnotationSet(string name, Annotation annotation, Annotation oldAnnotation)
Protected Overrides Function OnAnnotationSet(name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation
Parameters
name
System.String System.String

The key of the set annotation.

annotation
Annotation Annotation

The annotation set.

oldAnnotation
Annotation Annotation

The old annotation.

Returns

The annotation that was set.

Overrides

OnTypeMemberIgnored(String) OnTypeMemberIgnored(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 override void OnTypeMemberIgnored(string name)
Public Overrides Sub OnTypeMemberIgnored(name As String)
Parameters
name
System.String System.String
Overrides

PropertyMetadataChanged() PropertyMetadataChanged()

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 void PropertyMetadataChanged()
Public Overrides Sub PropertyMetadataChanged
Overrides

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

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(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.

(Inherited from ConventionalAnnotatable)

RemoveForeignKey(IReadOnlyList, IKey, IEntityType, Boolean) RemoveForeignKey(IReadOnlyList(Of IProperty), IKey, IEntityType, 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 ForeignKey RemoveForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType, bool runConventions = true)
Public Overridable Function RemoveForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType, runConventions As Boolean = True) As ForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
runConventions
System.Boolean System.Boolean
Returns

RemoveIndex(IReadOnlyList) RemoveIndex(IReadOnlyList(Of 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 Index RemoveIndex(IReadOnlyList<IProperty> properties)
Public Overridable Function RemoveIndex(properties As IReadOnlyList(Of IProperty)) As Index
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

RemoveKey(IReadOnlyList, Boolean) RemoveKey(IReadOnlyList(Of IProperty), 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 Key RemoveKey(IReadOnlyList<IProperty> properties, bool runConventions = true)
Public Overridable Function RemoveKey(properties As IReadOnlyList(Of IProperty), runConventions As Boolean = True) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
runConventions
System.Boolean System.Boolean
Returns

RemoveNavigation(String) RemoveNavigation(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 Navigation RemoveNavigation(string name)
Public Overridable Function RemoveNavigation(name As String) As Navigation
Parameters
name
System.String System.String
Returns

RemoveProperty(String) RemoveProperty(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 Property RemoveProperty(string name)
Public Overridable Function RemoveProperty(name As String) As 
Parameters
name
System.String System.String
Returns

RootType() RootType()

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 EntityType RootType()
Public Overridable Function RootType As EntityType
Returns

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists.

(Inherited from Annotatable)

SetAnnotation(String, Object, ConfigurationSource) SetAnnotation(String, Object, ConfigurationSource)

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.

(Inherited from ConventionalAnnotatable)

SetPrimaryKey(IReadOnlyList, ConfigurationSource, Boolean) SetPrimaryKey(IReadOnlyList(Of Property), ConfigurationSource, 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 Key SetPrimaryKey(IReadOnlyList<Property> properties, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function SetPrimaryKey(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As Key
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
runConventions
System.Boolean System.Boolean
Returns

SetPrimaryKey(Property) SetPrimaryKey(Property)

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 Key SetPrimaryKey(Property property)
Public Overridable Function SetPrimaryKey(property As  Property) As Key
Parameters
property
Property Property
Returns

ToString() ToString()

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 string ToString()
Public Overrides Function ToString As String
Returns
System.String System.String
Overrides
System.Object.ToString()System.Object.ToString()

Unignore(String) Unignore(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.

(Inherited from TypeBase)

UpdateConfigurationSource(ConfigurationSource) UpdateConfigurationSource(ConfigurationSource)

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.

(Inherited from TypeBase)

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Gets all annotations on the current object.

(Inherited from Annotatable)

IEntityType.BaseType Microsoft.EntityFrameworkCore.Metadata.IEntityType.BaseType

IEntityType IEntityType.BaseType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IEntityType.BaseType As IEntityType Implements IEntityType.BaseType
Returns

IEntityType.FindForeignKey(IReadOnlyList, IKey, IEntityType) Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindForeignKey(IReadOnlyList(Of IProperty), IKey, IEntityType)

IForeignKey IEntityType.FindForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As IForeignKey Implements IEntityType.FindForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

IEntityType.FindIndex(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex(IReadOnlyList(Of IProperty))

IIndex IEntityType.FindIndex(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex(properties As IReadOnlyList(Of IProperty)) As IIndex Implements IEntityType.FindIndex
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IEntityType.FindKey(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindKey(IReadOnlyList(Of IProperty))

IKey IEntityType.FindKey(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindKey(properties As IReadOnlyList(Of IProperty)) As IKey Implements IEntityType.FindKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IEntityType.FindPrimaryKey() Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey()

IKey IEntityType.FindPrimaryKey()
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey As IKey Implements IEntityType.FindPrimaryKey
Returns

IEntityType.FindProperty(String) Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperty(String)

IProperty IEntityType.FindProperty(string name)
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperty(name As String) As IProperty Implements IEntityType.FindProperty
Parameters
name
System.String System.String
Returns

IEntityType.GetForeignKeys() Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetForeignKeys()

IEnumerable<IForeignKey> IEntityType.GetForeignKeys()
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetForeignKeys As IEnumerable(Of IForeignKey) Implements IEntityType.GetForeignKeys
Returns
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)

IEntityType.GetIndexes() Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetIndexes()

IEnumerable<IIndex> IEntityType.GetIndexes()
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetIndexes As IEnumerable(Of IIndex) Implements IEntityType.GetIndexes
Returns
System.Collections.Generic.IEnumerable<IIndex> System.Collections.Generic.IEnumerable(Of IIndex)

IEntityType.GetKeys() Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetKeys()

IEnumerable<IKey> IEntityType.GetKeys()
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetKeys As IEnumerable(Of IKey) Implements IEntityType.GetKeys
Returns
System.Collections.Generic.IEnumerable<IKey> System.Collections.Generic.IEnumerable(Of IKey)

IEntityType.GetProperties() Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetProperties()

IEnumerable<IProperty> IEntityType.GetProperties()
Function Microsoft.EntityFrameworkCore.Metadata.IEntityType.GetProperties As IEnumerable(Of IProperty) Implements IEntityType.GetProperties
Returns
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)

IEntityType.Model Microsoft.EntityFrameworkCore.Metadata.IEntityType.Model

IModel IEntityType.Model { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IEntityType.Model As IModel Implements IEntityType.Model
Returns

IMutableEntityType.AddForeignKey(IReadOnlyList, IMutableKey, IMutableEntityType) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddForeignKey(IReadOnlyList(Of IMutableProperty), IMutableKey, IMutableEntityType)

IMutableForeignKey IMutableEntityType.AddForeignKey(IReadOnlyList<IMutableProperty> properties, IMutableKey principalKey, IMutableEntityType principalEntityType)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddForeignKey(properties As IReadOnlyList(Of IMutableProperty), principalKey As IMutableKey, principalEntityType As IMutableEntityType) As IMutableForeignKey Implements IMutableEntityType.AddForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)
principalKey
IMutableKey IMutableKey
Returns

IMutableEntityType.AddIndex(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddIndex(IReadOnlyList(Of IMutableProperty))

IMutableIndex IMutableEntityType.AddIndex(IReadOnlyList<IMutableProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddIndex(properties As IReadOnlyList(Of IMutableProperty)) As IMutableIndex Implements IMutableEntityType.AddIndex
Parameters
properties
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)
Returns

IMutableEntityType.AddKey(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddKey(IReadOnlyList(Of IMutableProperty))

IMutableKey IMutableEntityType.AddKey(IReadOnlyList<IMutableProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddKey(properties As IReadOnlyList(Of IMutableProperty)) As IMutableKey Implements IMutableEntityType.AddKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)
Returns

IMutableEntityType.AddProperty(String, Type) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddProperty(String, Type)

IMutableProperty IMutableEntityType.AddProperty(string name, Type propertyType)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.AddProperty(name As String, propertyType As Type) As IMutableProperty Implements IMutableEntityType.AddProperty
Parameters
name
System.String System.String
propertyType
System.Type System.Type
Returns

IMutableEntityType.BaseType Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.BaseType

IMutableEntityType IMutableEntityType.BaseType { get; set; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.BaseType As IMutableEntityType Implements IMutableEntityType.BaseType
Returns

IMutableEntityType.FindForeignKey(IReadOnlyList, IKey, IEntityType) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindForeignKey(IReadOnlyList(Of IProperty), IKey, IEntityType)

IMutableForeignKey IMutableEntityType.FindForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As IMutableForeignKey Implements IMutableEntityType.FindForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

IMutableEntityType.FindIndex(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindIndex(IReadOnlyList(Of IProperty))

IMutableIndex IMutableEntityType.FindIndex(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindIndex(properties As IReadOnlyList(Of IProperty)) As IMutableIndex Implements IMutableEntityType.FindIndex
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IMutableEntityType.FindKey(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindKey(IReadOnlyList(Of IProperty))

IMutableKey IMutableEntityType.FindKey(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindKey(properties As IReadOnlyList(Of IProperty)) As IMutableKey Implements IMutableEntityType.FindKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IMutableEntityType.FindPrimaryKey() Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindPrimaryKey()

IMutableKey IMutableEntityType.FindPrimaryKey()
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindPrimaryKey As IMutableKey Implements IMutableEntityType.FindPrimaryKey
Returns

IMutableEntityType.FindProperty(String) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindProperty(String)

IMutableProperty IMutableEntityType.FindProperty(string name)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.FindProperty(name As String) As IMutableProperty Implements IMutableEntityType.FindProperty
Parameters
name
System.String System.String
Returns

IMutableEntityType.GetForeignKeys() Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetForeignKeys()

IEnumerable<IMutableForeignKey> IMutableEntityType.GetForeignKeys()
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetForeignKeys As IEnumerable(Of IMutableForeignKey) Implements IMutableEntityType.GetForeignKeys
Returns
System.Collections.Generic.IEnumerable<IMutableForeignKey> System.Collections.Generic.IEnumerable(Of IMutableForeignKey)

IMutableEntityType.GetIndexes() Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetIndexes()

IEnumerable<IMutableIndex> IMutableEntityType.GetIndexes()
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetIndexes As IEnumerable(Of IMutableIndex) Implements IMutableEntityType.GetIndexes
Returns
System.Collections.Generic.IEnumerable<IMutableIndex> System.Collections.Generic.IEnumerable(Of IMutableIndex)

IMutableEntityType.GetKeys() Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetKeys()

IEnumerable<IMutableKey> IMutableEntityType.GetKeys()
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetKeys As IEnumerable(Of IMutableKey) Implements IMutableEntityType.GetKeys
Returns
System.Collections.Generic.IEnumerable<IMutableKey> System.Collections.Generic.IEnumerable(Of IMutableKey)

IMutableEntityType.GetProperties() Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetProperties()

IEnumerable<IMutableProperty> IMutableEntityType.GetProperties()
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.GetProperties As IEnumerable(Of IMutableProperty) Implements IMutableEntityType.GetProperties
Returns
System.Collections.Generic.IEnumerable<IMutableProperty> System.Collections.Generic.IEnumerable(Of IMutableProperty)

IMutableEntityType.Model Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.Model

IMutableModel IMutableEntityType.Model { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.Model As IMutableModel Implements IMutableEntityType.Model
Returns

IMutableEntityType.RemoveForeignKey(IReadOnlyList, IKey, IEntityType) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveForeignKey(IReadOnlyList(Of IProperty), IKey, IEntityType)

IMutableForeignKey IMutableEntityType.RemoveForeignKey(IReadOnlyList<IProperty> properties, IKey principalKey, IEntityType principalEntityType)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveForeignKey(properties As IReadOnlyList(Of IProperty), principalKey As IKey, principalEntityType As IEntityType) As IMutableForeignKey Implements IMutableEntityType.RemoveForeignKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
principalKey
IKey IKey
principalEntityType
IEntityType IEntityType
Returns

IMutableEntityType.RemoveIndex(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveIndex(IReadOnlyList(Of IProperty))

IMutableIndex IMutableEntityType.RemoveIndex(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveIndex(properties As IReadOnlyList(Of IProperty)) As IMutableIndex Implements IMutableEntityType.RemoveIndex
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IMutableEntityType.RemoveKey(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveKey(IReadOnlyList(Of IProperty))

IMutableKey IMutableEntityType.RemoveKey(IReadOnlyList<IProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveKey(properties As IReadOnlyList(Of IProperty)) As IMutableKey Implements IMutableEntityType.RemoveKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)
Returns

IMutableEntityType.RemoveProperty(String) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveProperty(String)

IMutableProperty IMutableEntityType.RemoveProperty(string name)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.RemoveProperty(name As String) As IMutableProperty Implements IMutableEntityType.RemoveProperty
Parameters
name
System.String System.String
Returns

IMutableEntityType.SetPrimaryKey(IReadOnlyList) Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.SetPrimaryKey(IReadOnlyList(Of IMutableProperty))

IMutableKey IMutableEntityType.SetPrimaryKey(IReadOnlyList<IMutableProperty> properties)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType.SetPrimaryKey(properties As IReadOnlyList(Of IMutableProperty)) As IMutableKey Implements IMutableEntityType.SetPrimaryKey
Parameters
properties
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)
Returns

IMutableTypeBase.Model Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase.Model

IMutableModel IMutableTypeBase.Model { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase.Model As IMutableModel Implements IMutableTypeBase.Model
Returns

ITypeBase.Model Microsoft.EntityFrameworkCore.Metadata.ITypeBase.Model

IModel ITypeBase.Model { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ITypeBase.Model As IModel Implements ITypeBase.Model
Returns