Class SystemComponentModelDataAnnotationsSchemaAttributeReader
Metadata provider using mapping attributes from System.ComponentModel.DataAnnotations.Schema namespace:
public class SystemComponentModelDataAnnotationsSchemaAttributeReader : IMetadataReader
- Inheritance
-
SystemComponentModelDataAnnotationsSchemaAttributeReader
- Implements
- Inherited Members
- Extension Methods
Constructors
SystemComponentModelDataAnnotationsSchemaAttributeReader()
public SystemComponentModelDataAnnotationsSchemaAttributeReader()
Methods
GetAttributes(Type)
public MappingAttribute[] GetAttributes(Type type)
Parameters
type
Type
Returns
GetAttributes(Type, MemberInfo)
public MappingAttribute[] GetAttributes(Type type, MemberInfo memberInfo)
Parameters
type
TypememberInfo
MemberInfo
Returns
GetDynamicColumns(Type)
public MemberInfo[] GetDynamicColumns(Type type)
Parameters
type
Type
Returns
GetObjectID()
public string GetObjectID()