We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdc09d2 commit d058fd4Copy full SHA for d058fd4
1 file changed
src/Rezoom.SQL.Mapping/UserTypeAnnotations.fs
@@ -71,7 +71,7 @@ let readMember (typeName : string) (m : MemberInfo) : AnnotationsForMember =
71
| :? int as v -> acc.Merge({ acc with Length = Some v }).ValidateExclusive()
72
| _ -> acc
73
elif fullName = sqlParameterDbTypeName
74
- && attr.ConstructorArguments.Count >= 2 then
+ && attr.ConstructorArguments.Count >= 1 then
75
match attr.ConstructorArguments.Count with
76
| 1 ->
77
// single-arg ctor is the DbType-only version
0 commit comments