AnnotatableExtensions AnnotatableExtensions Class

Extension methods for IAnnotatable.

Syntax

Declaration

public static class AnnotatableExtensionsPublic Module AnnotatableExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • AnnotatableExtensions
    AnnotatableExtensions

Inherited Members

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

Methods summary

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

Methods

  • GetAnnotation(IAnnotatable, String)
    GetAnnotation(IAnnotatable, String)

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

    public static IAnnotation GetAnnotation(this IAnnotatable annotatable, string annotationName)<ExtensionAttribute>
    Public Shared Function GetAnnotation(annotatable As IAnnotatable, annotationName As String) As IAnnotation

    Parameters

    • annotatable

      The object to find the annotation on.

    • annotationName
      System.String
      System.String

      The key of the annotation to find.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll