Click or drag to resize
DefaultTypeMap.FindConstructor Method
Finds best constructor

Namespace: Dapper
Assembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ConstructorInfo FindConstructor(
	string[] names,
	Type[] types
)

Parameters

names
Type:System.String[]
DataReader column names
types
Type:System.Type[]
DataReader column types

Return Value

Type: ConstructorInfo
Matching constructor or default one

Implements

SqlMapper.ITypeMap.FindConstructor(String[],Type[])
See Also