Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #39 from SwissCheeze/master

sql_variant support query parameters and SQL Server
  • Loading branch information...
commit 809594cf4173b6ad3d256a73c10cdf98e0b98d35 2 parents 310dd84 + 374ac00
@SamSaffron SamSaffron authored
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";
Please sign in to comment.
Something went wrong with that request. Please try again.