Skip to content

Commit f3f0401

Browse files
authored
Merge pull request #742 from fusyd/master
SqlServer Provider: replace UseSqlServerIdentityColumn with UseIdentityColumn
2 parents 89430ed + fdbd1f3 commit f3f0401

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/providers/WorkflowCore.Persistence.SqlServer/SqlServerContext.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,37 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
2828
protected override void ConfigureSubscriptionStorage(EntityTypeBuilder<PersistedSubscription> builder)
2929
{
3030
builder.ToTable("Subscription", "wfc");
31-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
31+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
3232
}
3333

3434
protected override void ConfigureWorkflowStorage(EntityTypeBuilder<PersistedWorkflow> builder)
3535
{
3636
builder.ToTable("Workflow", "wfc");
37-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
37+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
3838
}
3939

4040
protected override void ConfigureExecutionPointerStorage(EntityTypeBuilder<PersistedExecutionPointer> builder)
4141
{
4242
builder.ToTable("ExecutionPointer", "wfc");
43-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
43+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
4444
}
4545

4646
protected override void ConfigureExecutionErrorStorage(EntityTypeBuilder<PersistedExecutionError> builder)
4747
{
4848
builder.ToTable("ExecutionError", "wfc");
49-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
49+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
5050
}
5151

5252
protected override void ConfigureExetensionAttributeStorage(EntityTypeBuilder<PersistedExtensionAttribute> builder)
5353
{
5454
builder.ToTable("ExtensionAttribute", "wfc");
55-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
55+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
5656
}
5757

5858
protected override void ConfigureEventStorage(EntityTypeBuilder<PersistedEvent> builder)
5959
{
6060
builder.ToTable("Event", "wfc");
61-
builder.Property(x => x.PersistenceId).UseSqlServerIdentityColumn();
61+
builder.Property(x => x.PersistenceId).UseIdentityColumn();
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)