You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var results = (from call in db.Calls
select new
{
IpkStatusName = call.StatusNavigation.Name
}).Take(10);
Produces the following exception:
Exception thrown: 'System.NullReferenceException' in Microsoft.EntityFrameworkCore.dll
Additional information: Object reference not set to an instance of an object.
at lambda_method(Closure , ValueBuffer )
at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.UnbufferedEntityShaper`1.Shape(QueryContext queryContext, ValueBuffer valueBuffer)
at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.<_ShapedQuery>d__3`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
Using build 20620 from the 19th or April.
The text was updated successfully, but these errors were encountered:
The following query:
Produces the following exception:
Using build 20620 from the 19th or April.
The text was updated successfully, but these errors were encountered: