Share via


RelationalAnnotations.CanSetAnnotation Method

Definition

Overloads

CanSetAnnotation(String, Object)

Checks whether or not the annotation with the given name can be set to the given value.

CanSetAnnotation(String, String, Object)

CanSetAnnotation(String, Object)

Source:
RelationalAnnotations.cs
Source:
RelationalAnnotations.cs

Checks whether or not the annotation with the given name can be set to the given value.

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

Parameters

relationalAnnotationName
String

The name of the annotation to set.

value
Object

The value to set.

Returns

True if the annotation can be set; false otherwise.

Applies to

CanSetAnnotation(String, String, Object)

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

Parameters

relationalAnnotationName
String
providerAnnotationName
String
value
Object

Returns

Applies to