Class E161_SqlFunctionCoalesce_ef

Assembly: redb.Examples.dll

EF Core twin of : COALESCE(Age, 0) above 30, up to 100 whole objects and
the count. EF writes COALESCE for the C# ?? operator.

[ExampleMeta("E161_ef", "EF: Sql.Function - COALESCE", "Query", ExampleTier.Pro, 1, new string[] { "EF", "Where", "Function" })]
public class E161_SqlFunctionCoalesce_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E161_SqlFunctionCoalesce_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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