TypeBase TypeBase 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 abstract class TypeBase : ConventionalAnnotatable, IMutableTypeBase, ITypeBase, IMutableAnnotatable, IAnnotatable
Public MustInherit Class TypeBase
    Inherits ConventionalAnnotatable
    Implements IMutableTypeBase, ITypeBase, IMutableAnnotatable, IAnnotatable
Inheritance
Implements

Constructors

TypeBase(String, Model, ConfigurationSource) TypeBase(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.

protected TypeBase(string name, Model model, ConfigurationSource configurationSource)
Protected Sub New(name As String, model As Model, configurationSource As ConfigurationSource)
Parameters
name
System.String System.String
model
Model Model

TypeBase(Type, Model, ConfigurationSource) TypeBase(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.

protected TypeBase(Type clrType, Model model, ConfigurationSource configurationSource)
Protected Sub New(clrType As Type, model As Model, configurationSource As ConfigurationSource)
Parameters
clrType
System.Type System.Type
model
Model Model

Properties

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.

public virtual Type ClrType { get; }
Public Overridable ReadOnly Property ClrType As Type
Value
System.Type System.Type

Item[String] Item(String)

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

(Inherited from Annotatable)

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.

public virtual Model Model { get; }
Public Overridable ReadOnly Property Model As Model
Value
Model Model

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.

public virtual string Name { get; }
Public Overridable ReadOnly Property Name As String
Value
System.String System.String

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)

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)

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.

public virtual ConfigurationSource? FindDeclaredIgnoredMemberConfigurationSource(string name)
Public Overridable Function FindDeclaredIgnoredMemberConfigurationSource(name As String) As ConfigurationSource?
Parameters
name
System.String System.String
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

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

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)

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.

public virtual ConfigurationSource GetConfigurationSource()
Public Overridable Function GetConfigurationSource As ConfigurationSource
Returns

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.

public virtual IReadOnlyList<string> GetIgnoredMembers()
Public Overridable Function GetIgnoredMembers As IReadOnlyList(Of String)
Returns
System.Collections.Generic.IReadOnlyList<System.String> System.Collections.Generic.IReadOnlyList(Of System.String)

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)

GetType() GetType()

Inherited from System.Object

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.

public virtual void Ignore(string name, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Sub Ignore(name As String, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True)
Parameters
name
System.String System.String
runConventions
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Runs the corresponding conventions when an annotation was set or removed.

(Inherited from Annotatable)

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

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

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)

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)

ToString() ToString()

Inherited from System.Object

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.

public virtual void Unignore(string name)
Public Overridable Sub Unignore(name As String)
Parameters
name
System.String System.String

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.

public virtual void UpdateConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateConfigurationSource(configurationSource As ConfigurationSource)
Parameters

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)

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.ClrType Microsoft.EntityFrameworkCore.Metadata.ITypeBase.ClrType

Type ITypeBase.ClrType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ITypeBase.ClrType As Type Implements ITypeBase.ClrType
Returns
System.Type System.Type

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