composite key resource REST service
问题 I've come across a problem at work where I can't find information on the usual standard or practice for performing CRUD operations in a RESTful web service against a resource whose primary key is a composite of other resource ids. We are using MVC WebApi to create the controllers. For example, we have three tables: Product : PK=ProductId Part : PK=PartId ProductPartAssoc : PK=(ProductId, PartId) A product can have many parts and a part can be a component of many products. The association