CreateSequence operation not found

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
palmi
Posts: 20
Joined: Thu 16 Feb 2017 16:52

CreateSequence operation not found

Post by palmi » Fri 17 Mar 2017 17:57

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.

Shalex
Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Post by Shalex » Mon 20 Mar 2017 13:26

Thank you for your report. We will investigate the issue and notify you about the result.

palmi
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: CreateSequence operation not found

Post by palmi » Fri 24 Mar 2017 15:05

Thank you. Any information yet?

Shalex
Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Post by Shalex » Mon 27 Mar 2017 10:02

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.

palmi
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: CreateSequence operation not found

Post by palmi » Fri 19 May 2017 13:42

Still no public build?

Shalex
Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Post by Shalex » Mon 22 May 2017 09:38

We plan to release the new public build of dotConnect for Oracle this week on Thursday. Is this timeframe OK for you?

Shalex
Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Post by Shalex » Fri 26 May 2017 18:14

The CreateSequence and DropSequence operations in EF Core Code-First Migrations are supported: viewtopic.php?f=1&t=35436.

Post Reply