Sdílet prostřednictvím


ConventionAnnotatable.IConventionAnnotatable.FindAnnotation(String) Metoda

Definice

Získá anotaci s daným názvem a vrátí null , pokud neexistuje.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation IConventionAnnotatable.FindAnnotation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? IConventionAnnotatable.FindAnnotation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Function FindAnnotation (name As String) As IConventionAnnotation Implements IConventionAnnotatable.FindAnnotation

Parametry

name
String

Název poznámky, která se má najít.

Návraty

Existující poznámka, pokud již existuje poznámka se zadaným názvem. V opačném případě hodnota null.

Implementuje

Atributy

Platí pro