CreateSequence operation not found

CreateSequence operation not found

Postby 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.
palmi
 
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: CreateSequence operation not found

Postby Shalex » Mon 20 Mar 2017 13:26

Thank you for your report. We will investigate the issue and notify you about the result.
Shalex
Devart Team
 
Posts: 7709
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Postby palmi » Fri 24 Mar 2017 15:05

Thank you. Any information yet?
palmi
 
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: CreateSequence operation not found

Postby 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.
Shalex
Devart Team
 
Posts: 7709
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Postby palmi » Fri 19 May 2017 13:42

Still no public build?
palmi
 
Posts: 20
Joined: Thu 16 Feb 2017 16:52

Re: CreateSequence operation not found

Postby 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: 7709
Joined: Thu 14 Aug 2008 12:44

Re: CreateSequence operation not found

Postby Shalex » Fri 26 May 2017 18:14

The CreateSequence and DropSequence operations in EF Core Code-First Migrations are supported: http://forums.devart.com/viewtopic.php?f=1&t=35436.
Shalex
Devart Team
 
Posts: 7709
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle