Help with Implicit Explicit operators
This is my operator definition
I've not been able to find the exacts. With this definition, will it convert from Entry to ViewModel or ViewModel to Entry? Because, with the said implementation, following conversion doesn't work:
The error is Can't convert from IQueryable<Entry> to IQueryable<ViewModel>
I've not been able to find the exacts. With this definition, will it convert from Entry to ViewModel or ViewModel to Entry? Because, with the said implementation, following conversion doesn't work:
EventData = Context.Entries.Where(e => e.UserId == UserId);The error is Can't convert from IQueryable<Entry> to IQueryable<ViewModel>