MigSharp
MigSharp copied to clipboard
Add support for the ROWGUIDCOL flag
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!
Makes sense. I personally do not need this feature. So feel free to submit a PR.