ReadTests_Math.Log01() Fail with an exception, and it's not [Explicit] on
SqlServer
And the worse is that it's producing sql semantically different from the
linq query.
SELECT COUNT(*)
FROM [dbo].[Order Details]
WHERE ((LOG(([Discount] + 1))/LOG(2,71828182845905)) > 0)
while the linq was
var q = from c in db.OrderDetails
where Math.Log((double)(c.Discount + 1)) > 0.0
select c;
I guess this is not a high priority bug by itself, but it's probably not
related to Math only.
BTW the question is: should it be marked as [Explicit] for SqlServer too?
Giacomo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---