Class E157_DateTimeYear_ef

Assembly: redb.Examples.dll

EF Core twin of : objects created this year and older than 30, up to 100 whole
objects, and the count of this year's objects. The creation date is a field of the objects header.

[ExampleMeta("E157_ef", "EF: WhereRedb - DateTime.Year", "Query", ExampleTier.Pro, 1, new string[] { "EF", "Where", "DateTime" })]
public class E157_DateTimeYear_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E157_DateTimeYear_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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