We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why there is a problem with datetime in UpdateIf?
.UpdateIf((dcInDb, dcNew) => dcInDb.IsConnected != dcNew.IsConnected || (dcInDb.IsConnected == true && dcInDb.LastSeen <= dcNew.LastSeen && (dcNew.LastSeen - dcInDb.LastSeen) >= TimeSpan.FromSeconds(5)))
The second expression does not work.
This expression also does not work:
.UpdateIf((dcInDb, dcNew) => dcInDb.LastSeen <= dcNew.LastSeen)
but this one is working:
.UpdateIf((dcInDb, dcNew) => dcInDb.IsConnected != dcNew.IsConnected)
Any idea how to deal with such expression?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Why there is a problem with datetime in UpdateIf?
The second expression does not work.
This expression also does not work:
but this one is working:
Any idea how to deal with such expression?
The text was updated successfully, but these errors were encountered: