diff --git a/src/YuckQi.Data.Sql.Dapper/YuckQi.Data.Sql.Dapper.csproj b/src/YuckQi.Data.Sql.Dapper/YuckQi.Data.Sql.Dapper.csproj index 99f9496..dd4d968 100644 --- a/src/YuckQi.Data.Sql.Dapper/YuckQi.Data.Sql.Dapper.csproj +++ b/src/YuckQi.Data.Sql.Dapper/YuckQi.Data.Sql.Dapper.csproj @@ -4,7 +4,7 @@ netstandard2.0 true Kevin J Lambert - 0.4.9 + 0.4.10 LICENSE An implementation of YuckQi.Data using Dapper and SimpleCRUD. diff --git a/src/YuckQi.Data.Sql.EntityFramework/YuckQi.Data.Sql.EntityFramework.csproj b/src/YuckQi.Data.Sql.EntityFramework/YuckQi.Data.Sql.EntityFramework.csproj index 2281b05..55e9e70 100644 --- a/src/YuckQi.Data.Sql.EntityFramework/YuckQi.Data.Sql.EntityFramework.csproj +++ b/src/YuckQi.Data.Sql.EntityFramework/YuckQi.Data.Sql.EntityFramework.csproj @@ -4,7 +4,7 @@ netstandard2.0 true Kevin J Lambert - 0.4.9 + 0.4.10 LICENSE An implementation of YuckQi.Data using Entity Framework. diff --git a/src/YuckQi.Data/Extensions/DataParameterExtensions.cs b/src/YuckQi.Data/Extensions/DataParameterExtensions.cs index 2aa0146..63db5f0 100644 --- a/src/YuckQi.Data/Extensions/DataParameterExtensions.cs +++ b/src/YuckQi.Data/Extensions/DataParameterExtensions.cs @@ -9,11 +9,17 @@ public static class DataParameterExtensions { private static readonly IReadOnlyDictionary DbTypeMap = new Dictionary { - { typeof(string), DbType.AnsiString }, { typeof(bool), DbType.Boolean }, + { typeof(byte), DbType.Byte }, + { typeof(DateTime), DbType.DateTime2 }, + { typeof(DateTimeOffset), DbType.DateTimeOffset }, { typeof(decimal), DbType.Decimal }, + { typeof(double), DbType.Double }, + { typeof(float), DbType.Single }, + { typeof(Guid), DbType.Guid }, { typeof(int), DbType.Int32 }, - { typeof(long), DbType.Int64 } + { typeof(long), DbType.Int64 }, + { typeof(string), DbType.AnsiString } }; public static IReadOnlyCollection ToParameterCollection(this object parameters, IReadOnlyDictionary dbTypeMap = null) where T : IDataParameter, new() diff --git a/src/YuckQi.Data/YuckQi.Data.csproj b/src/YuckQi.Data/YuckQi.Data.csproj index df12646..24b66d0 100644 --- a/src/YuckQi.Data/YuckQi.Data.csproj +++ b/src/YuckQi.Data/YuckQi.Data.csproj @@ -4,7 +4,7 @@ netstandard2.0 true Kevin J Lambert - 0.4.9 + 0.4.10 LICENSE A .NET library providing fine-grained data providers useful in data repository or domain service implementations.