Table of Contents

Class SystemComponentModelDataAnnotationsSchemaAttributeReader

Namespace
LinqToDB.Metadata
Assembly
linq2db.dll

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

MappingAttribute[]

GetAttributes(Type, MemberInfo)

public MappingAttribute[] GetAttributes(Type type, MemberInfo memberInfo)

Parameters

type Type
memberInfo MemberInfo

Returns

MappingAttribute[]

GetDynamicColumns(Type)

public MemberInfo[] GetDynamicColumns(Type type)

Parameters

type Type

Returns

MemberInfo[]

GetObjectID()

public string GetObjectID()

Returns

string