Skip to content

Autoprocs with default constraints #47

Description

@mkrnic

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions