Page 1 of 1

CreateSequence operation not found

Posted: Fri 17 Mar 2017 17:57
by palmi
I have a EF Core Code First application.

In my Context I create a sequence in the OnModelCreating method:

Code: Select all

protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.HasSequence<int>("OrderNumbers", schema: "shared")
            .StartsAt(1000)
            .IncrementsBy(5);
        }
When I execute Add-Migration it creates following Migration-Code:

Code: Select all

migrationBuilder.CreateSequence<int>(
                name: "OrderNumbers",
                schema: "shared",
                startValue: 1000L,
                incrementBy: 5);
But when I execute Update-Database I get following error:
The value "CreateSequenceOperation" could not be found.

Re: CreateSequence operation not found

Posted: Mon 20 Mar 2017 13:26
by Shalex
Thank you for your report. We will investigate the issue and notify you about the result.

Re: CreateSequence operation not found

Posted: Fri 24 Mar 2017 15:05
by palmi
Thank you. Any information yet?

Re: CreateSequence operation not found

Posted: Mon 27 Mar 2017 10:02
by Shalex
The CreateSequence and DropSequence operations in EF Core Code-First Migrations are supported. We will notify you when the new public build of dotConnect for Oracle is available for download.

Re: CreateSequence operation not found

Posted: Fri 19 May 2017 13:42
by palmi
Still no public build?

Re: CreateSequence operation not found

Posted: Mon 22 May 2017 09:38
by Shalex
We plan to release the new public build of dotConnect for Oracle this week on Thursday. Is this timeframe OK for you?

Re: CreateSequence operation not found

Posted: Fri 26 May 2017 18:14
by Shalex
The CreateSequence and DropSequence operations in EF Core Code-First Migrations are supported: viewtopic.php?f=1&t=35436.