diff --git a/OpenAuth.Repository/OpenAuthDBContext.cs b/OpenAuth.Repository/OpenAuthDBContext.cs index 727a811c..e096a369 100644 --- a/OpenAuth.Repository/OpenAuthDBContext.cs +++ b/OpenAuth.Repository/OpenAuthDBContext.cs @@ -92,7 +92,7 @@ namespace OpenAuth.Repository { foreach (var property in entityType.GetProperties()) { - if (property.ClrType == typeof(bool)) + if (property.ClrType == typeof(bool) || property.ClrType == typeof(bool?)) { property.SetValueConverter(boolToSmallIntConverter); }