Skip to content

Commit d058fd4

Browse files
committed
Fix typo 2.
1 parent cdc09d2 commit d058fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Rezoom.SQL.Mapping/UserTypeAnnotations.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ let readMember (typeName : string) (m : MemberInfo) : AnnotationsForMember =
7171
| :? int as v -> acc.Merge({ acc with Length = Some v }).ValidateExclusive()
7272
| _ -> acc
7373
elif fullName = sqlParameterDbTypeName
74-
&& attr.ConstructorArguments.Count >= 2 then
74+
&& attr.ConstructorArguments.Count >= 1 then
7575
match attr.ConstructorArguments.Count with
7676
| 1 ->
7777
// single-arg ctor is the DbType-only version

0 commit comments

Comments
 (0)