Open GoogleCodeExporter opened 9 years ago
SqlProvider.GetLiteral() also impacts:
http://groups.google.com/group/dblinq/browse_thread/thread/415a6c5b8f14cb12
Specifically, SqlProvider.GetLiteral() also needs to support ExpressionType.New
(and probably every other ExpressionType that is currently commented out).
Another example of valid-yet-fails code:
Northwind db = CreateDB();
var q = from p in db.Products
where p.ProductID > new Nullable<int>(5).Value
select new ProductWrapper3(
(int)p.ProductID, (int?)p.SupplierID);
In the above, the "error" is the 'new' within the 'where' expression.
Original comment by jonmpr...@gmail.com
on 24 Jun 2010 at 2:23
Original issue reported on code.google.com by
jonmpr...@gmail.com
on 22 Jun 2010 at 6:45