Table of Contents

Class FluentMetadataReader

Namespace
LinqToDB.Metadata
Assembly
linq2db.dll
public class FluentMetadataReader : IMetadataReader
Inheritance
FluentMetadataReader
Implements
Inherited Members
Extension Methods

Constructors

FluentMetadataReader(IReadOnlyDictionary<Type, List<MappingAttribute>>, IReadOnlyDictionary<MemberInfo, List<MappingAttribute>>, IReadOnlyList<MemberInfo>)

public FluentMetadataReader(IReadOnlyDictionary<Type, List<MappingAttribute>> typeAttributes, IReadOnlyDictionary<MemberInfo, List<MappingAttribute>> memberAttributes, IReadOnlyList<MemberInfo> orderedMembers)

Parameters

typeAttributes IReadOnlyDictionary<Type, List<MappingAttribute>>
memberAttributes IReadOnlyDictionary<MemberInfo, List<MappingAttribute>>
orderedMembers IReadOnlyList<MemberInfo>

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

GetRegisteredTypes()

Gets all types, registered by by current fluent mapper.

public IEnumerable<Type> GetRegisteredTypes()

Returns

IEnumerable<Type>

Returns array with all types, mapped by current fluent mapper.