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

Autoprocs with default constraints #47

Open
mkrnic opened this issue May 14, 2015 · 0 comments
Open

Autoprocs with default constraints #47

mkrnic opened this issue May 14, 2015 · 0 comments

Comments

@mkrnic
Copy link

mkrnic commented May 14, 2015

I was wondering - would it be possible to make autoprocs work with default constraints and not have to require those parameters?

It's not uncommon to have a DateInserted datetime not null default getdate() in a table, but autoprocs will generate inserts and upserts that require the DateInserted parameter, kind of defeating the point of a default if it has to be sent through code...

If it cannot be done automatically, maybe a syntax change to autoproc all Table insertignore DateInserted, IsActive, FooColumn ?

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

No branches or pull requests

1 participant