Bagikan melalui


Annotatable.IAnnotatable.FindAnnotation(String) Metode

Definisi

Mendapatkan anotasi dengan nama yang diberikan, mengembalikan null jika tidak ada.

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function FindAnnotation (name As String) As IAnnotation Implements IAnnotatable.FindAnnotation

Parameter

name
String

Kunci anotasi untuk ditemukan.

Mengembalikan

Anotasi yang ada jika anotasi dengan nama yang ditentukan sudah ada. Jika tidak, mengembalikan null.

Penerapan

Atribut

Berlaku untuk