Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lamda version on Where on one-to-many and many-to-many should apply conventions #107

Open
hazzik opened this issue Nov 1, 2011 · 0 comments
Labels

Comments

@hazzik
Copy link
Member

hazzik commented Nov 1, 2011

I have following mapping:

HasMany(x => x.Items).Where(x => x.IsDeleted == false);

It is translated to SQL like WHERE (items0_.IsDeleted = 0)
It is incorrect In case I'm using convention which converts camel case to underscores notation (eg. IsDeleted -> IS_DELETED).

So, correct sql should be (WHERE items0_.IS_DELTED = 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant