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.MetadataProperty
Public Shared Function CreateAnnotation (name As String, value As Object) As MetadataProperty
Parameters
- name
- String
The annotation name.
- value
- Object
The annotation value.
Returns
A MetadataProperty instance representing the created annotation.
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