MetadataProperty.CreateAnnotation(String, Object) 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.
Creates a metadata annotation having the specified name and value.
public static System.Data.Entity.Core.Metadata.Edm.MetadataProperty CreateAnnotation(string name, object value);static member CreateAnnotation : string * obj -> System.Data.Entity.Core.Metadata.Edm.MetadataPropertyPublic Shared Function CreateAnnotation (name As String, value As Object) As MetadataPropertyParameters
- name
- String
The annotation name.
- value
- Object
The annotation value.
Returns
A MetadataProperty instance representing the created annotation.