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, I've just tried to run the following LINQ query and the is operator doesn't seem to be working correctly. Is this a known limitation or something I'm doing wrong? Is it an easy thing to add support for or maybe something that needs to wait for LS3? E.g. ImageAsset and VideoAsset inherit from Asset. var query = from o in unitOfWork.Assets where o is ImageAsset select o; and var query = from o in unitOfWork.Assets where o is VideoAsset select o; I expect the first query to return a count of 20,000 and the second a count of 0. However, both count 20,000 Entities. Thanks, Chris |
|
|
This was not previously supported but I have now added it and it will be included in nightly builds dated 5 Sep 2009 and above. Please let us know if you run into any problems with it. |
|