Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Nhibernate linq null reference

$
0
0

The below statement is throwing null reference exception, as some of the values EducationalResourceForProblemID are null.

How do we check to make sure we execute the statement only when it is not nulls.

Where(Function x.EducationalResourceForProblemID.Id = icdCode.Id)


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>