-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to include an entity but with a condition #92
Comments
The prompt message had tell you how to do it |
can u pls just help ?? |
this is very unfortunate that you've just DIS me for no reason, at list what ask of you is doable. |
please I need your help about this subject.. adding where clause to include.. |
@xyting can I get an example of how you got this to work properly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I need some help running this; I need to include the second table with a condition like so;
DateTime _mydate = BusinessDaysUtility.ConvertFromDateTimeOffset(model.Today.Value.Date);
But I'm getting this error message:-
The Include property lambda expression 'w => {from EmployeeCheckInCheckoutData c in w.EmployeeCheckInCheckoutData where ((([c].CheckInDate != null) AndAlso Convert([c].CheckInDate, DateTimeOffset).LocalDateTime.Date.Equals(___mydate_Date_0)) AndAlso ([c].IsDeleted != True)) select [c]}' is invalid. The expression should represent a property access: 't => t.MyProperty'. To target navigations declared on derived types, specify an explicitly typed lambda parameter of the target type, E.g. '(Derived d) => d.MyProperty'.
please reply, this is the second time I'm asking for this help.
thanks in advance.
The text was updated successfully, but these errors were encountered: