RelationalAnnotations.CanSetAnnotation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework