RelationalAnnotations.SetAnnotation Yöntem

Tanım

Aşırı Yüklemeler

SetAnnotation(String, Object)

Verilen ada sahip bir ek açıklamayı verilen değere ayarlamaya çalışır ve bunun başarılı olup olmadığını döndürür.

SetAnnotation(String, String, Object)

SetAnnotation(String, Object)

Kaynak:
RelationalAnnotations.cs
Kaynak:
RelationalAnnotations.cs

Verilen ada sahip bir ek açıklamayı verilen değere ayarlamaya çalışır ve bunun başarılı olup olmadığını döndürür.

public virtual bool SetAnnotation(string annotationName, object value);
abstract member SetAnnotation : string * obj -> bool
override this.SetAnnotation : string * obj -> bool
Public Overridable Function SetAnnotation (annotationName As String, value As Object) As Boolean

Parametreler

annotationName
String

Ayarlanacağı ek açıklamanın adı.

value
Object

Ayarlanacak değer.

Döndürülenler

True ek açıklama ayarlandıysa; false Aksi takdir -de.

Şunlara uygulanır

SetAnnotation(String, String, Object)

public virtual bool SetAnnotation(string relationalAnnotationName, string providerAnnotationName, object value);
abstract member SetAnnotation : string * string * obj -> bool
override this.SetAnnotation : string * string * obj -> bool
Public Overridable Function SetAnnotation (relationalAnnotationName As String, providerAnnotationName As String, value As Object) As Boolean

Parametreler

relationalAnnotationName
String
providerAnnotationName
String
value
Object

Döndürülenler

Şunlara uygulanır