GetSqlTypeName() public method

public GetSqlTypeName ( ) : string
return string
 public void GetSqlTypeName_NullableValueType ()
 {
   var convertExpresion = new SqlConvertExpression (typeof (int?), Expression.Constant ("1"));
   var result = convertExpresion.GetSqlTypeName ();
   Assert.That (result, Is.EqualTo ("INT"));
 }
 public void GetSqlTypeName_KeyNotFound_ThrowsException ()
 {
   var convertExpression = new SqlConvertExpression (typeof (Cook), Expression.Constant ("1"));
   convertExpression.GetSqlTypeName ();
 }
 private void CheckSqlTypeName (Type type, string expectedSqlTypeName)
 {
   var result = new SqlConvertExpression (type, new CustomExpression (type));
   Assert.That (result.GetSqlTypeName(), Is.EqualTo (expectedSqlTypeName));
 }