markrendle/Simple.Data — Issue #124: Get may need support for named parameters
Author: object
Created: 2011-11-25 10:14:35+00:00
State: open

As I mentioned in my mail regarding OData issues, in case resource key consists of multiple properties, support for named paramaters in Get (similar to Insert) will be benefitial:

In addition to Get(object[] keyValues)
also Get(IDictionary keyValues)

Then client code can issue commands db.Users.Get(FirstName: "Jim", LastName: "Smith").

OData requires named parameters for compound keys.

If you agree with this, I can make a change and send a pull request.