DefaultTypeMapFindConstructor Method |
Finds best constructor
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ConstructorInfo FindConstructor(
string[] names,
Type[] types
)
Public Function FindConstructor (
names As String(),
types As Type()
) As ConstructorInfo
public:
virtual ConstructorInfo^ FindConstructor(
array<String^>^ names,
array<Type^>^ types
) sealed
abstract FindConstructor :
names : string[] *
types : Type[] -> ConstructorInfo
override FindConstructor :
names : string[] *
types : Type[] -> ConstructorInfo
Parameters
- names
- Type: SystemString
DataReader column names - types
- Type: SystemType
DataReader column types
Return Value
Type:
ConstructorInfoMatching constructor or default one
Implements
SqlMapperITypeMapFindConstructor(String, Type)See Also