EdmProperty.CreateEnum Method (String, EnumType)
Creates a new enum property.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public static EdmProperty CreateEnum( string name, EnumType enumType )
Parameters
- name
-
Type:
System.String
The name of the property.
- enumType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EnumType
The type of the property.