Class ExampleBase
Base class for all examples.
public abstract class ExampleBase
Inheritance
Derived
E000_BulkInsertE001_SaveAsyncE002_LoadAsyncE010_WhereSimpleE011_WhereAndE012_WhereOrE013_WhereNotE014_WhereRangeE015_WhereTripleAndE016_WhereChainE020_DateTimeGreaterE021_DateTimeRangeE030_StringContainsE031_StringStartsWithE032_StringContainsIgnoreCaseE040_NestedPropertyE041_DeepNestedE050_ArrayContainsE051_ArrayMultipleE052_ArrayNotContainsE053_ArrayWithConditionsE060_DictContainsKeyE061_DictIndexerE062_DictNestedClassE063_DictTupleKeyE070_CountAsyncE071_AnyAsyncE072_AnyWithPredicateE073_AllAsyncE074_WhereInE075_SelectE076_DistinctE080_OrderByE081_OrderByThenByE082_SkipTakeE083_OrderByDescendingE087_TreeCleanupE088_TreeCreateBulkE089_TreeCreateE090_TreeLoadE091_TreeCountE092_TreeChildrenE093_TreePathE094_TreeDescendantsE095_TreeMoveE096_TreeQueryE097_TreeQueryRootsE098_TreeQueryLeavesE099_TreeQueryLevelE100_TreeTraversalDFSE101_TreeTraversalBFSE102_TreeIsDescendantE103_TreeIsAncestorE104_TreeGetLevelE105_TreeQueryWithRootE106_TreeQueryChildrenOfE107_TreeQueryMultiRootE108_TreeToTreeListE109_TreeToRootListE110_TreeWhereHasAncestorE111_TreeWhereHasDescendantE112_TreeStatsE113_TreeToFlatListE114_ListCreateE115_ListAddItemsE116_ListGetByNameE117_ListItemWithObjectE118_PropsListItemFieldE119_PropsListItemArrayE120_ListItemWhereByValueE121_ListItemWhereInE122_ListItemDirectCompareE123_ListItemArrayAnyE124_SumAsyncE125_AverageAsyncE126_MinMaxAsyncE127_AggregateAsyncE128_GroupBySimpleE129_GroupByFilteredE130_GroupByMultiKeyE131_GroupByRedbE132_WindowRowNumberE133_WindowRunningSumE134_WindowLagLeadE135_WindowRankE136_WindowNtileE137_WindowFirstLastE138_WindowFrameE139_DistinctRedbE140_DistinctByRedbE141_WhereInRedbE142_GroupByArrayE143_SumRedbAsyncE144_MinMaxRedbAsyncE145_AverageRedbAsyncE146_AggregateRedbAsyncE147_WindowPartitionByRedbE148_WindowOrderByRedbE149_SelectProjectionE150_ArrayAggregationE151_ArithmeticMultiplyE152_ArithmeticAddFieldsE153_StringToLowerE154_StringTrimE155_StringChainE156_MathAbsE157_DateTimeYearE158_ParenthesesE159_NestedMathE160_TreeQueryExpressionsE161_SqlFunctionCoalesceE162_SqlFunctionPowerE163_SqlFunctionNestedE164_BaseFieldsSingleE165_BaseFieldsBatchE166_GenericNullPropsE167_MixedBatchE168_ArrayContainsE169_ArrayContainsOrE170_ArrayContainsAndE171_ScalarPlusArrayE172_StringLengthE173_TreeQueryGroupByE174_TreeQueryWindowE175_TreeQueryGroupByWindowE176_TreeDistinctByE177_TreeDistinctByRedbE178_TreeOrderByE179_TreeOrderByDescendingE180_TreeDistinctByOrderByE181_DeleteSingleE182_DeleteBatchE183_FirstOrDefaultAsyncE184_WhereNullableE185_WhereBoolE186_ObjectReferenceE187_UpdateExistingE190_SumAsyncFilteredE191_WindowFilteredE192_AggregateFilteredE193_AverageAsyncFilteredE194_MinMaxAsyncFilteredE195_GroupByWindowFiltered
Methods
Fail(string, string, ExampleTier, long, string)
Helper to create failure result.
protected static ExampleResult Fail(string id, string title, ExampleTier tier, long elapsedMs, string error)
Ok(string, string, ExampleTier, long, int, string[], string?)
Helper to create success result with count.
protected static ExampleResult Ok(string id, string title, ExampleTier tier, long elapsedMs, int count, string[] output, string? sql = null)
Ok(string, string, ExampleTier, long, string[], string?)
Helper to create success result without count (for setup/CRUD).
protected static ExampleResult Ok(string id, string title, ExampleTier tier, long elapsedMs, string[] output, string? sql = null)
RunAsync(IRedbService)
Run the example and return result.
public abstract Task<ExampleResult> RunAsync(IRedbService redb)