MetadataProperty.CreateAnnotation Method (String, Object)
Creates a metadata annotation having the specified name and value.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- name
-
Type:
System.String
The annotation name.
- value
-
Type:
System.Object
The annotation value.
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.MetadataPropertyA MetadataProperty instance representing the created annotation.