Class E136_WindowNtile_ef

Assembly: redb.Examples.dll

EF Core twin of . EF Core does not translate window functions (dotnet/efcore#12747), 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("E136_ef", "EF: Window - Ntile", "Analytics", ExampleTier.Free, 1, new string[] { "EF" })]
public class E136_WindowNtile_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E136_WindowNtile_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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