This project is read-only.


Multiple Keys are not generated in functions


If I have a database with multiple keys for instance in my example, the db has:

If I run SalarDbCodeGenerator, I get the SQLDeleteCommand as
Delete ... Where Name = @Name AND UserId = @UserId
so far, so good...

However, the Delete function, created above, that calls this command, does NOT work, it creates ONLY

public void Delete(String Name)

it should create

public void Delete(String Name, String UserId) ...

This is using the Dapper SQLINQ.

Would be helpful if this bug could be fixed as soon as possible... :-)
Thank you otherwise for a really good software!
Closed Aug 10, 2013 at 7:32 AM by salar2k
Fixed in #570939cf3457


salar2k wrote Aug 10, 2013 at 5:06 AM

Thanks for the report, adding support of multiply keys was in the to-do list. I'm making it top priority.

salar2k wrote Aug 10, 2013 at 7:31 AM

The bug turns out to be a pattern issue.
It is now fixed, grab the new patterns here:

Let me know if there are any other issues in the bug-fixes.

St0ffe wrote Aug 12, 2013 at 10:30 AM

In the commit:
You have referenced the dlls:
To the packages dir, all other dlls are referenced in the:

This would be great if this could be fixed, so the project can build.

salar2k wrote Aug 13, 2013 at 7:54 AM

it is done.