This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, If I have a FK that can be null and using it in where raise exception.
var result = from c in Customers where c.Department.Description = "teste" select c; If I have a "Customer" with NULL departament the above code raise exception.
|
|
|
Hi Alexnaldo, Are you able to send through some more details on this and perhaps an example model highlighting the behavior you are seeing? Assuming the exception is a null reference exception, this is only something which would be thrown if the projection is being done client side, which would seem to conflict with the query you have written..
Jeremy |
|