Class EfExampleBase
Base class of the EF Core twins of the examples (redb.Export/doc/PLAN_EF_BENCHMARK.md). A twin carries
the id of its redb example with the suffix _ef, works on the flat database through EF Core only,
and returns the same result shape, so the runner prints both side by side.
public abstract class EfExampleBase : ExampleBase
Inheritance
Derived
E000_BulkInsert_efE001_SaveAsync_efE002_LoadAsync_efE003_UniqueKeys_efE004_SubtreeAndElementKeys_efE010_WhereSimple_efE011_WhereAnd_efE012_WhereOr_efE013_WhereNot_efE014_WhereRange_efE015_WhereTripleAnd_efE016_WhereChain_efE020_DateTimeGreater_efE021_DateTimeRange_efE030_StringContains_efE031_StringStartsWith_efE032_StringContainsIgnoreCase_efE040_NestedProperty_efE041_DeepNested_efE050_ArrayContains_efE051_ArrayMultiple_efE052_ArrayNotContains_efE053_ArrayWithConditions_efE060_DictContainsKey_efE061_DictIndexer_efE062_DictNestedClass_efE063_DictTupleKey_efE070_CountAsync_efE071_AnyAsync_efE072_AnyWithPredicate_efE073_AllAsync_efE074_WhereIn_efE075_Select_efE076_Distinct_efE080_OrderBy_efE081_OrderByThenBy_efE082_SkipTake_efE083_OrderByDescending_efE087_TreeCleanup_efE088_TreeCreateBulk_efE089_TreeCreate_efE090_TreeLoad_efE091_TreeCount_efE092_TreeChildren_efE093_TreePath_efE094_TreeDescendants_efE095_TreeMove_efE096_TreeQuery_efE097_TreeQueryRoots_efE098_TreeQueryLeaves_efE099_TreeQueryLevel_efE100_TreeTraversalDFS_efE101_TreeTraversalBFS_efE102_TreeIsDescendant_efE103_TreeIsAncestor_efE104_TreeGetLevel_efE105_TreeQueryWithRoot_efE106_TreeQueryChildrenOf_efE107_TreeQueryMultiRoot_efE108_TreeToTreeList_efE109_TreeToRootList_efE110_TreeWhereHasAncestor_efE111_TreeWhereHasDescendant_efE112_TreeStats_efE113_TreeToFlatList_efE114_ListCreate_efE115_ListAddItems_efE116_ListGetByName_efE117_ListItemWithObject_efE118_PropsListItemField_efE119_PropsListItemArray_efE120_ListItemWhereByValue_efE121_ListItemWhereIn_efE122_ListItemDirectCompare_efE123_ListItemArrayAny_efE124_SumAsync_efE125_AverageAsync_efE126_MinMaxAsync_efE127_AggregateAsync_efE128_GroupBySimple_efE129_GroupByFiltered_efE130_GroupByMultiKey_efE131_GroupByRedb_efE132_WindowRowNumber_efE133_WindowRunningSum_efE134_WindowLagLead_efE135_WindowRank_efE136_WindowNtile_efE137_WindowFirstLast_efE138_WindowFrame_efE139_DistinctRedb_efE140_DistinctByRedb_efE141_WhereInRedb_efE142_GroupByArray_efE143_SumRedbAsync_efE144_MinMaxRedbAsync_efE145_AverageRedbAsync_efE146_AggregateRedbAsync_efE147_WindowPartitionByRedb_efE148_WindowOrderByRedb_efE149_SelectProjection_efE150_ArrayAggregation_efE150A_ArrayAggregationByIndex_efE151_ArithmeticMultiply_efE152_ArithmeticAddFields_efE153_StringToLower_efE154_StringTrim_efE155_StringChain_efE156_MathAbs_efE157_DateTimeYear_efE158_Parentheses_efE159_NestedMath_efE160_TreeQueryExpressions_efE161_SqlFunctionCoalesce_efE162_SqlFunctionPower_efE163_SqlFunctionNested_efE164_BaseFieldsSingle_efE165_BaseFieldsBatch_efE166_GenericNullProps_efE167_MixedBatch_efE168_ArrayContains_efE169_ArrayContainsOr_efE170_ArrayContainsAnd_efE171_ScalarPlusArray_efE172_StringLength_efE173_TreeQueryGroupBy_efE174_TreeQueryWindow_efE175_TreeQueryGroupByWindow_efE176_TreeDistinctBy_efE177_TreeDistinctByRedb_efE178_TreeOrderBy_efE179_TreeOrderByDescending_efE180_TreeDistinctByOrderBy_efE181_DeleteSingle_efE182_DeleteBatch_efE183_FirstOrDefaultAsync_efE184_WhereNullable_efE185_WhereBool_efE186_ObjectReference_efE187_UpdateExisting_efE188_SoftDeleteReference_efE190_SumAsyncFiltered_efE191_WindowFiltered_efE192_AggregateFiltered_efE193_AverageAsyncFiltered_efE194_MinMaxAsyncFiltered_efE195_GroupByWindowFiltered_efE200_SmokeSqlDump_efE201_NullCheckBaseIdAmbiguity_efE202_PvtPrefilter_efE203_SeedVolume_efE204_TreePrefilter_efE205_WhereRedbSystemFields_efE206_WhereRedbNarrowsFirst_efE997_DateTimeJulianVerify_ef
Inherited Members
Properties
Contexts
Factory of contexts over the flat database, set by Program before any EF example runs. A twin
public static IDbContextFactory<FlatContext>? Contexts { get; set; }
Methods
NotSupported(string, string, ExampleTier, string)
Result of a twin whose task EF Core cannot do out of the box. No raw SQL stands in for the missing
protected static ExampleResult NotSupported(string id, string title, ExampleTier tier, string reason)
RunAsync(IRedbService)
Run the example and return result.
public override sealed Task<ExampleResult> RunAsync(IRedbService redb)
RunEfAsync(IDbContextFactory<FlatContext>)
Runs the example through EF Core.
public abstract Task<ExampleResult> RunEfAsync(IDbContextFactory<FlatContext> contexts)