Class E132_WindowRowNumber_ef

Assembly: redb.Examples.dll

EF Core twin of . EF Core does not translate window functions
(ROW_NUMBER() OVER (PARTITION BY ...)): dotnet/efcore#12747 is open since 2018 and absent from the
EF Core 10 release notes. Doing it anyway takes raw SQL or a third-party package, neither of which is
EF out of the box.

[ExampleMeta("E132_ef", "EF: Window - RowNumber", "Analytics", ExampleTier.Free, 1, new string[] { "EF", "Window" })]
public class E132_WindowRowNumber_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E132_WindowRowNumber_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

public override Task<ExampleResult> RunEfAsync(IDbContextFactory<FlatContext> contexts)