Skip to content

DmColumnFallbackMapper ​

Namespace: MJCZone.DapperMatic.TypeMapping

Assembly: MJCZone.DapperMatic

Summary ​

Type mapper that automatically detects and maps column attributes at runtime. Supports DmColumn, EF Core Column, and ServiceStack.OrmLite Alias attributes for column name mapping. Supports DmIgnore, EF Core NotMapped, and ServiceStack.OrmLite Ignore attributes for excluding properties. Supports modern C# patterns including records with parameterized constructors. Fallback to default property name matching if no mapping attributes are found.

Inheritance ​

Implemented Interfaces:

  • ITypeMap

public

Contents ​

Constructors (1) | Methods (8)

Constructors ​

DmColumnFallbackMapper ​

Initializes a new instance of the DmColumnFallbackMapper class.

csharp
DmColumnFallbackMapper(Type type, DapperMaticMappingOptions options)

Parameters ​

Methods ​

MethodSummary
FindConstructor
GetMember
FindExplicitConstructor
GetConstructorParameter
GetType
ToString
Equals
GetHashCode

FindConstructor ​

csharp
FindConstructor()

GetMember ​

csharp
IMemberMap? GetMember()

Returns ​

Type: IMemberMap?

FindExplicitConstructor ​

csharp
ConstructorInfo? FindExplicitConstructor()

Returns ​

Type: ConstructorInfo?

GetConstructorParameter ​

csharp
IMemberMap? GetConstructorParameter()

Returns ​

Type: IMemberMap?

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()