RelationalAnnotations.SetAnnotation 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
SetAnnotation(String, Object) |
Attempts to set an annotation with the given name to the given value and returns whether or not this was successful. |
SetAnnotation(String, String, Object) |
SetAnnotation(String, Object)
Attempts to set an annotation with the given name to the given value and returns whether or not this was successful.
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
Parameters
- annotationName
- String
The name of the annotation to set.
- value
- Object
The value to set.
Returns
True
if the annotation was set; false
otherwise.
Applies to
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
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