public void ShouldCreateCastExpression() { var factory = new DbExpressionFactory(); var castExpression = factory.Cast(factory.Column("SomeColumn"), typeof(Int32)); var test = castExpression.ToString(); }