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

GetByKey should NOT call GetByKeyList #343

Closed
Grauenwolf opened this issue Jan 31, 2020 · 1 comment
Closed

GetByKey should NOT call GetByKeyList #343

Grauenwolf opened this issue Jan 31, 2020 · 1 comment

Comments

@Grauenwolf
Copy link
Collaborator

This is silly:

public SingleRowDbCommandBuilder<AbstractCommand, AbstractParameter> GetByKey(AbstractObjectName tableName, string key)
{
    return GetByKeyList(tableName, keys: (IEnumerable<string>)new List<string> { key });
}
@Grauenwolf
Copy link
Collaborator Author

Generalized fix goes in Shared\DataSource\DataSourceBase.Class1DataSource.cs

@Grauenwolf Grauenwolf changed the title GetByKey should call GetByKeyList GetByKey should NOT call GetByKeyList Feb 4, 2020
@Grauenwolf Grauenwolf self-assigned this Feb 9, 2020
Grauenwolf added a commit that referenced this issue Feb 9, 2020
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