Skip to content

Commit

Permalink
CastExpression works for non-string data types. Closes #68.
Browse files Browse the repository at this point in the history
  • Loading branch information
hisystems committed Sep 1, 2012
1 parent 5ca2127 commit 0a14e43
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SQL/Expressions/SQLCastFieldExpression.cs
Expand Up @@ -67,8 +67,6 @@ public int Size

get
{
DataTypeExtensions.EnsureIsCharacter(peCastAsType);

return pintSize;
}
}
Expand All @@ -83,8 +81,6 @@ public int ScaleLength
{
get
{
DataTypeExtensions.EnsureIsDecimal(peCastAsType);

return pintScale;
}

Expand All @@ -109,8 +105,6 @@ public int Precision
{
get
{
DataTypeExtensions.EnsureIsDecimal(peCastAsType);

return pintPrecision;
}

Expand Down

0 comments on commit 0a14e43

Please sign in to comment.