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

Support searching instances by type specific properties #240

Open
Toxantron opened this issue Jan 3, 2022 · 0 comments
Open

Support searching instances by type specific properties #240

Toxantron opened this issue Jan 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Toxantron
Copy link
Member

Toxantron commented Jan 3, 2022

Is your feature request related to a problem? Please describe.
In PHOENIXCONTACT/MORYX-AbstractionLayer#146 we addes support to load instances by the standard properties Type, TypeId, TypeName or TypeIdentity. It would by great to load all instances with type specific properties. For example:

// Load instances of all types with a weight below 500g
var watches = ProductManagement.LoadInstances<WatchInstance>(wi => wi.Type.Weight < 500);

Describe alternatives you've considered
Use the new type expression to load types and than all instances of those types.

@Toxantron Toxantron added the enhancement New feature or request label Jan 3, 2022
@1nf0rmagician 1nf0rmagician transferred this issue from PHOENIXCONTACT/MORYX-AbstractionLayer Mar 10, 2023
@1nf0rmagician 1nf0rmagician added this to the MoryxFramework 8.0.0 milestone Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants