ConventionalAnnotatable ConventionalAnnotatable 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 ConventionalAnnotatable : Annotatable, IMutableAnnotatable, IAnnotatable
Public Class ConventionalAnnotatable
    Inherits Annotatable
    Implements IMutableAnnotatable, IAnnotatable
Inheritance
System.ObjectSystem.Object
ConventionalAnnotatableConventionalAnnotatable
Implements

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.

public virtual ConventionalAnnotation AddAnnotation(string name, object value)
Public Overridable Function AddAnnotation(name As String, value As Object) As ConventionalAnnotation
Parameters
name
System.String System.String
value
System.Object System.Object
Returns

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.

public virtual ConventionalAnnotation AddAnnotation(string name, object value, ConfigurationSource configurationSource)
Public Overridable Function AddAnnotation(name As String, value As Object, configurationSource As ConfigurationSource) As ConventionalAnnotation
Parameters
name
System.String System.String
value
System.Object System.Object
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.

protected override Annotation CreateAnnotation(string name, object value)
Protected Overrides Function CreateAnnotation(name As String, value As Object) As Annotation
Parameters
name
System.String System.String
value
System.Object System.Object
Returns
Overrides

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.

public virtual ConventionalAnnotation FindAnnotation(string name)
Public Overridable Function FindAnnotation(name As String) As ConventionalAnnotation
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.

public virtual IEnumerable<ConventionalAnnotation> GetAnnotations()
Public Overridable Function GetAnnotations As IEnumerable(Of ConventionalAnnotation)
Returns
System.Collections.Generic.IEnumerable<ConventionalAnnotation> System.Collections.Generic.IEnumerable(Of ConventionalAnnotation)

GetHashCode() GetHashCode()

Inherited from System.Object

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.

public virtual ConventionalAnnotation GetOrAddAnnotation(string name, object value)
Public Overridable Function GetOrAddAnnotation(name As String, value As Object) As ConventionalAnnotation
Parameters
name
System.String System.String
value
System.Object System.Object
Returns

GetType() GetType()

Inherited from System.Object

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)

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.

public virtual ConventionalAnnotation RemoveAnnotation(string name)
Public Overridable Function RemoveAnnotation(name As String) As ConventionalAnnotation
Parameters
name
System.String System.String
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.

public virtual ConventionalAnnotation SetAnnotation(string name, object value, ConfigurationSource configurationSource)
Public Overridable Function SetAnnotation(name As String, value As Object, configurationSource As ConfigurationSource) As ConventionalAnnotation
Parameters
name
System.String System.String
value
System.Object System.Object
Returns

ToString() ToString()

Inherited from System.Object

Properties

Item[String] Item(String)

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

(Inherited from Annotatable)

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)