Skip to content
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

Implement use of Early Bound enums in Early Bound queries #829

Closed
bwmodular opened this issue Nov 29, 2022 · 0 comments
Closed

Implement use of Early Bound enums in Early Bound queries #829

bwmodular opened this issue Nov 29, 2022 · 0 comments
Assignees

Comments

@bwmodular
Copy link

For the use of early bound queries to be truly seamless between FXB and IDE, it would be wonderful if you could use EBG OptionSet enums in conditions.
For example, to specify the status of a Contact:

query.Criteria.AddCondition("statecode", ConditionOperator.Equal, (int)ContactState.Active);

It helps enormously with readabilibity and avoidance of typos but at the moment we have to edit queries as we cut and paste in and out of FXB if we are using enums in query conditions.

Thanks as ever for all your hard work!

@rappen rappen self-assigned this Jan 30, 2023
rappen added a commit that referenced this issue Jan 30, 2023
rappen added a commit that referenced this issue Feb 4, 2023
@rappen rappen closed this as completed Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants