oibo8x / subsonicproject

Automatically exported from code.google.com/p/subsonicproject
0 stars 0 forks source link

Add DeleteByKey and DestroyByKey to repository #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When migrating from the old MVC templates, there's no direct migration for 
deleting by an ID (single param method). This patch adds it to the 
SubSonicRepository (and ISubSonicRepository) and the structs templates for 
both c# and VB.

Original issue reported on code.google.com by johnshee...@gmail.com on 9 Apr 2009 at 3:54

Attachments:

GoogleCodeExporter commented 9 years ago
Here's a patch file for two tests

Also, if you update this line in the app.config for SubSonic.Tests you can get 
the 
generator to automatically point to the latest templates:

<SubSonicService defaultProvider="Northwind" 
templateDirectory="..\SubSonic\CodeGeneration\Templates">

Original comment by johnshee...@gmail.com on 9 Apr 2009 at 5:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by robcon...@gmail.com on 11 Apr 2009 at 1:43