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

GetByKeyList Inferred Table Enhancement #395

Open
Grauenwolf opened this issue Dec 6, 2020 · 0 comments
Open

GetByKeyList Inferred Table Enhancement #395

Grauenwolf opened this issue Dec 6, 2020 · 0 comments

Comments

@Grauenwolf
Copy link
Collaborator

Currently we have to specify the table name when we want to override the column name. For example:

var children = m_DataSource.GetByKeyList(ProductTable, "ProductLineKey",
                results.Select(pl => pl.ProductLineKey)).ToCollection<Product>().Execute();

We would like to reduce that to:

var children = m_DataSource.GetByKeyList<Product>("ProductLineKey",
                results.Select(pl => pl.ProductLineKey)).ToCollection().Execute();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant