DefaultTypeMap.FindConstructor Method |
Finds best constructor
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic 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:System.String[]
DataReader column names - types
- Type:System.Type[]
DataReader column types
Return Value
Type:
ConstructorInfoMatching constructor or default one
Implements
SqlMapper.ITypeMap.FindConstructor(String[],Type[])
See Also