Is it possible to use the CE Database’s built-in functions such as those math functions POWER, SIN, COS in WP7’s LINQ to SQL? I couldn’t find any samples on the web.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following statement will be fully translated to SQL:
Output
The following methods are not supported by Linq2SQL:
Math.DivRem(Int32, Int32, Int32)Math.DivRem(Int64, Int64, Int64)Math.IEEERemainder(Double, Double)Math.Round()always rounds away from zero in Linq2Sql. In .Net it uses Banker’s rounding.