Class E134_WindowLagLead_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("E134_ef", "EF: Window - Lag/Lead", "Analytics", ExampleTier.Free, 1, new string[] { "EF" })]
public class E134_WindowLagLead_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E134_WindowLagLead_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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