8000 New methods to get multiple entities by ids · Issue #112 · SharpRepository/SharpRepository · GitHub
[go: up one dir, main page]

Skip to content

New methods to get multiple entities by ids #112

@jtreuting

Description

@jtreuting

Suggested methods could be:

IList<T> GetMultiple(params TKey[] ids);
IList<T> GetMultiple(IList<TKey> ids);

// not sure the best name here
IDicitonary<TKey, T> GetMultipleDicitonary(params TKey[] ids);
IDicitonary<TKey, T> GetMultipleDicitonary(IList<TKey> ids);

Need to decide whether this does multiple calls to Get or build a query so it's done in one call to the data store.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0