Permalink
Browse files

added BigDecimal support to the CassandraType inverter

  • Loading branch information...
1 parent 45e21d0 commit 43ec108f19815a6db554064ada0f25877ed2a7c4 @nberardi nberardi committed May 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Types/CassandraType.cs
@@ -248,6 +248,9 @@ public static CassandraType GetCassandraType(Type sourceType)
if (sourceType == typeof(BigInteger))
destinationType = IntegerType;
+ if (sourceType == typeof(BigDecimal))
+ destinationType = DecimalType;
+
if (sourceType == typeof(Guid))
destinationType = UUIDType;

0 comments on commit 43ec108

Please sign in to comment.