Skip to content

Commit

Permalink
Merge pull request #70 from BastiaanLouis/support-2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
paolosalvatori committed Jan 6, 2017
2 parents ef8eaa9 + 1f4a3b1 commit 53ca9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/ConversionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static object MapStringTypeToCLRType(string type, object value)
case "Decimal":
return Convert.ChangeType(value, typeof(decimal));
case "Guid":
return new Guid(value as string);
return new Guid(value.ToString());
}
throw new NotSupportedException(string.Format(TypeNotSupported, type));
}
Expand Down

0 comments on commit 53ca9b0

Please sign in to comment.