Closed avber closed 6 years ago
I don't understand what you are trying to do or what limitation you are seeing. Can you give a specific example of something you cannot do with the existing library?
Our naming convention for database objects is as follows:
Table name: Beers
CRUD stored procedures should be named
Beers_Insert Beers_Get Beers_GetAll Beers_Update Beers_Delete
If I understand correctly, right now the repository interface should look like
IBeersRepo { Beers_Insert Beers_Get Beers_GetAll Beers_Update Beers_Delete }
which is not very desirable.
A better interface could be
IBeersRepo { Insert Get GetAll Update Delete }
You can rename the stored procedures with the stored procedure attribute
IBeersRepo { [StoredProcedure("Insert")] void Insert(Beer beer); }
OK, thanks
Type
What kind of issue is this?
[ ] Bug report. [x ] Feature request.