From 0a14e43c431698c8cf7dfcd5178f6cf9a3c27bdf Mon Sep 17 00:00:00 2001 From: Toby Wicks Date: Sat, 1 Sep 2012 14:43:18 +0930 Subject: [PATCH] CastExpression works for non-string data types. Closes #68. --- SQL/Expressions/SQLCastFieldExpression.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SQL/Expressions/SQLCastFieldExpression.cs b/SQL/Expressions/SQLCastFieldExpression.cs index d9a71f6..83bddd7 100644 --- a/SQL/Expressions/SQLCastFieldExpression.cs +++ b/SQL/Expressions/SQLCastFieldExpression.cs @@ -67,8 +67,6 @@ public int Size get { - DataTypeExtensions.EnsureIsCharacter(peCastAsType); - return pintSize; } } @@ -83,8 +81,6 @@ public int ScaleLength { get { - DataTypeExtensions.EnsureIsDecimal(peCastAsType); - return pintScale; } @@ -109,8 +105,6 @@ public int Precision { get { - DataTypeExtensions.EnsureIsDecimal(peCastAsType); - return pintPrecision; }