Skip to content
Browse files

Merge pull request #39 from SwissCheeze/master

sql_variant support query parameters and SQL Server
  • Loading branch information...
2 parents 310dd84 + 374ac00 commit 809594cf4173b6ad3d256a73c10cdf98e0b98d35 @SamSaffron SamSaffron committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 Dapper/SqlMapper.cs
View
1 Dapper/SqlMapper.cs
@@ -318,6 +318,7 @@ static SqlMapper()
typeMap[typeof(Guid?)] = DbType.Guid;
typeMap[typeof(DateTime?)] = DbType.DateTime;
typeMap[typeof(DateTimeOffset?)] = DbType.DateTimeOffset;
+ typeMap[typeof(Object)] = DbType.Object;
}
private const string LinqBinary = "System.Data.Linq.Binary";

0 comments on commit 809594c

Please sign in to comment.
Something went wrong with that request. Please try again.