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

Add support for the ROWGUIDCOL flag #67

Open
stsrki opened this issue Sep 5, 2017 · 1 comment
Open

Add support for the ROWGUIDCOL flag #67

stsrki opened this issue Sep 5, 2017 · 1 comment
Labels

Comments

@stsrki
Copy link

stsrki commented Sep 5, 2017

I would like to have a a feature request to add ROWGUIDCOL flag when creating table. This flag is used for replication in SqlServer.

Example SQL:

CREATE TABLE MyTable(
    [MyTableId] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
    ...

Possible implementation:

db.CreateTable( "MyTable" )
    .WithPrimaryKeyColumn( "MyTableId", System.Data.DbType.Guid ).HavingNewSequentialGuidAsDefault().WithRowGuid();

PS. Note that this is supported in SqlServer!

@dradovic
Copy link
Owner

dradovic commented Sep 6, 2017

Makes sense. I personally do not need this feature. So feel free to submit a PR.

@dradovic dradovic changed the title Add RowGuid when creating table Add support for the ROWGUIDCOL flag Sep 6, 2017
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

2 participants