Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 3bb532f

Browse files
committed
Specify Int16 for Oracle bools
1 parent fbbf7d8 commit 3bb532f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ServiceStack.OrmLite.Oracle/Converters/OracleBoolConverter.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using ServiceStack.OrmLite.Converters;
1+
using System.Data;
2+
using ServiceStack.OrmLite.Converters;
23

34
namespace ServiceStack.OrmLite.Oracle.Converters
45
{
@@ -8,5 +9,10 @@ public override string ColumnDefinition
89
{
910
get { return "NUMBER(1)"; }
1011
}
12+
13+
public override DbType DbType
14+
{
15+
get { return DbType.Int16; }
16+
}
1117
}
1218
}

0 commit comments

Comments
 (0)