MetadataItem.AddAnnotation Method (String, Object)
Adds or updates an annotation with the specified name and value.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- name
-
Type:
System.String
The name of the annotation property.
- value
-
Type:
System.Object
The value of the annotation property.
If an annotation with the given name already exists then the value of that annotation is updated to the given value. If the given value is null then the annotation will be removed.