Last active
March 3, 2022 15:24
-
-
Save BrianMRO/dbecdc5d8daae9a2b63ed637e982e871 to your computer and use it in GitHub Desktop.
Workflow - Define Conditions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Conditions | |
Condition Bql<T>() where T : IBqlUnary, new() => context.Conditions.FromBql<T>(); | |
var conditions = new | |
{ | |
IsOnHold | |
= Bql<hold.IsEqual<True>>(), | |
IsScheduled | |
= Bql<scheduleDate.IsNotNull>(), | |
}.AutoNameConditions(); | |
#endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment