Class ErrorHelper
This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.
public static class ErrorHelper
- Inheritance
-
objectErrorHelper
Fields
Error_Correlated_Subqueries
public const string Error_Correlated_Subqueries = "Provider does not support correlated subqueries."
Field Value
Error_Correlated_Subqueries_Level
public const string Error_Correlated_Subqueries_Level = "Provider does not support correlated subqueries in more than {0} level."
Field Value
Error_DistinctByRequiresOrderBy
public const string Error_DistinctByRequiresOrderBy = "DistinctBy requires at least one ordering key."
Field Value
Error_GroupGuard
public const string Error_GroupGuard = "You should explicitly specify selected fields for server-side GroupBy() call or add AsEnumerable() call before GroupBy() to perform client-side grouping.\r\nSet Configuration.Linq.GuardGrouping = false to disable this check.\r\nAdditionally this guard exception can be disabled by extension GroupBy(...).DisableGuard().\r\nNOTE! By disabling this guard you accept Eager Loading for grouping query."
Field Value
Error_ImplicitEagerLoadingNotAllowed
public const string Error_ImplicitEagerLoadingNotAllowed = "Implicit eager loading is not allowed (LinqOptions.ImplicitCollectionLoading = Throw): a collection was projected without an explicit eager-load request. To allow it, request the load explicitly with LoadWith()/ThenLoad(), or opt the whole query in with WithUnionLoadStrategy()/WithKeyedLoadStrategy()/WithSeparateLoadStrategy() — or set ImplicitCollectionLoading = Allow to turn the guard off."
Field Value
Error_Internal_UpdateInsertEmitter_CannotEmitUpdatePredicate
public const string Error_Internal_UpdateInsertEmitter_CannotEmitUpdatePredicate = "Internal error: BuildInsertOrUpdateQueryAsUpdateInsert cannot emit an UPDATE predicate. Providers with IsInsertOrUpdateWithPredicateSupported=false must route Upsert.Update.When through SetIfExistsUpdateElseInsert (3-query orchestration)."
Field Value
Error_JoinOnOuterReferenceNotSupported
public const string Error_JoinOnOuterReferenceNotSupported = "Provider does not support JOIN conditions that reference outer queries."
Field Value
Error_Join_ParentReference_Condition
public const string Error_Join_ParentReference_Condition = "Provider does not support subqueries with JOIN which has reference to parent table in condition."
Field Value
Error_Join_Without_Condition
public const string Error_Join_Without_Condition = "Provider does not support JOIN without condition."
Field Value
Error_MutiTable_Insert
public const string Error_MutiTable_Insert = "Provider does not support multi-table insert."
Field Value
Error_OUTER_Joins
public const string Error_OUTER_Joins = "Provider does not support CROSS/OUTER/LATERAL joins."
Field Value
Error_OrderByRequiredForIndexing
public const string Error_OrderByRequiredForIndexing = "For retrieving index of row, specify OrderBy part."
Field Value
Error_OrderBy_in_Derived
public const string Error_OrderBy_in_Derived = "Provider does not support ORDER BY in derived table."
Field Value
Error_OrderBy_in_Subquery
public const string Error_OrderBy_in_Subquery = "Provider does not support ORDER BY in subquery."
Field Value
Error_RowNumber
public const string Error_RowNumber = "Provider does not support ROW_NUMBER function."
Field Value
Error_Skip_in_Subquery
public const string Error_Skip_in_Subquery = "Provider does not support Skip value in subquery."
Field Value
Error_SqlRow_in_Update
public const string Error_SqlRow_in_Update = "Provider does not support SqlRow on the left-hand side of an UPDATE SET."
Field Value
Error_SqlRow_in_Update_Value
public const string Error_SqlRow_in_Update_Value = "Provider does not support SqlRow literal on the right-hand side of an UPDATE SET."
Field Value
Error_Subquery_in_Column
public const string Error_Subquery_in_Column = "Provider does not support columns with subqueries."
Field Value
Error_Take_in_Correlated_Subquery
public const string Error_Take_in_Correlated_Subquery = "Provider does not support Take value in correlated subquery."
Field Value
Error_Take_in_Derived
public const string Error_Take_in_Derived = "Provider does not support Take value in derived table."
Field Value
Error_Take_in_Subquery
public const string Error_Take_in_Subquery = "Provider does not support Take value in subquery."
Field Value
Error_Upsert_EmulationDisallowed
public const string Error_Upsert_EmulationDisallowed = "Upsert cannot be expressed natively for this provider / configuration and would fall back to an emulated UPDATE+INSERT sequence. LinqOptions.UpsertEmulationPolicy is set to Throw — change the provider, adjust the Upsert configuration, or set it to Allow to permit emulation."
Field Value
Error_Upsert_InsertBranch_DoNothing_With_Ops
public const string Error_Upsert_InsertBranch_DoNothing_With_Ops = "Insert branch configuration is contradictory: DoNothing() cannot be combined with Set/Ignore/When."
Field Value
Error_Upsert_MergeLowering_NotSupported
public const string Error_Upsert_MergeLowering_NotSupported = "Upsert configuration requires MERGE lowering (bulk source, non-PK match, conditional Insert, or SkipInsert), but the current provider does not support the two-branch MERGE shape. Reshape the Upsert call to a single-entity PK match without SkipInsert / Insert.When, or target a MERGE-capable provider."
Field Value
Error_Upsert_MergeWithPredicate_NotSupported
public const string Error_Upsert_MergeWithPredicate_NotSupported = "Upsert configuration attaches a predicate to an Insert.When / Update.When branch routed through MERGE lowering, but the current provider's MERGE dialect has no WHEN [NOT] MATCHED AND <cond> or UPDATE … WHERE <cond> form. Remove the .When predicate, or target a provider that supports conditional MERGE branches."
Field Value
Error_Upsert_SkipInsert_With_Insert
public const string Error_Upsert_SkipInsert_With_Insert = "Upsert configuration is contradictory: SkipInsert() cannot be combined with Insert(...)."
Field Value
Error_Upsert_SkipUpdate_With_Update
public const string Error_Upsert_SkipUpdate_With_Update = "Upsert configuration is contradictory: SkipUpdate() cannot be combined with Update(...)."
Field Value
Error_Upsert_UpdateBranch_DoNothing_With_Ops
public const string Error_Upsert_UpdateBranch_DoNothing_With_Ops = "Update branch configuration is contradictory: DoNothing() cannot be combined with Set/Ignore/When."
Field Value
Error_WindowFunction_AggregateDistinct
public const string Error_WindowFunction_AggregateDistinct = "DISTINCT is not supported in window aggregate functions by current provider."
Field Value
Error_WindowFunction_AggregateWindowFunctions
public const string Error_WindowFunction_AggregateWindowFunctions = "Aggregate window functions are not supported by current provider."
Field Value
Error_WindowFunction_Correlation
public const string Error_WindowFunction_Correlation = "COVAR/CORR is not supported by current provider."
Field Value
Error_WindowFunction_CumeDist
public const string Error_WindowFunction_CumeDist = "CUME_DIST is not supported by current provider."
Field Value
Error_WindowFunction_FirstLastValue
public const string Error_WindowFunction_FirstLastValue = "FIRST_VALUE/LAST_VALUE is not supported by current provider."
Field Value
Error_WindowFunction_FrameExclude
public const string Error_WindowFunction_FrameExclude = "Frame EXCLUDE clause is not supported by current provider."
Field Value
Error_WindowFunction_FrameGroups
public const string Error_WindowFunction_FrameGroups = "GROUPS frame is not supported by current provider."
Field Value
Error_WindowFunction_FrameRange
public const string Error_WindowFunction_FrameRange = "RANGE frame is not supported by current provider."
Field Value
Error_WindowFunction_FrameRangeGroupsNullsEmulation
public const string Error_WindowFunction_FrameRangeGroupsNullsEmulation = "A RANGE or GROUPS frame with a value offset requires a single ORDER BY key, but the requested NULLS ordering is emulated with an extra sort key on this provider. Use a non-nullable ORDER BY key, drop the explicit NULLS position, or use a ROWS frame."
Field Value
Error_WindowFunction_FrameRangeGroupsOrderBy
public const string Error_WindowFunction_FrameRangeGroupsOrderBy = "A RANGE or GROUPS frame with a value offset requires exactly one ORDER BY expression."
Field Value
Error_WindowFunction_FrameRows
public const string Error_WindowFunction_FrameRows = "ROWS frame is not supported by current provider."
Field Value
Error_WindowFunction_HypotheticalSet
public const string Error_WindowFunction_HypotheticalSet = "Hypothetical-set RANK/DENSE_RANK/PERCENT_RANK/CUME_DIST is not supported by current provider."
Field Value
Error_WindowFunction_Keep
public const string Error_WindowFunction_Keep = "KEEP clause is not supported by current provider."
Field Value
Error_WindowFunction_KeepOrderBy
public const string Error_WindowFunction_KeepOrderBy = "KEEP (DENSE_RANK FIRST/LAST) requires an ORDER BY."
Field Value
Error_WindowFunction_LeadLag
public const string Error_WindowFunction_LeadLag = "LEAD/LAG is not supported by current provider."
Field Value
Error_WindowFunction_LeadLagDefault
public const string Error_WindowFunction_LeadLagDefault = "Default value argument for LEAD/LAG is not supported by current provider."
Field Value
Error_WindowFunction_LinearRegression
public const string Error_WindowFunction_LinearRegression = "REGR_* is not supported by current provider."
Field Value
Error_WindowFunction_Median
public const string Error_WindowFunction_Median = "MEDIAN is not supported by current provider."
Field Value
Error_WindowFunction_NTile
public const string Error_WindowFunction_NTile = "NTILE is not supported by current provider."
Field Value
Error_WindowFunction_NotSupported
public const string Error_WindowFunction_NotSupported = "Window functions are not supported by current provider."
Field Value
Error_WindowFunction_NthValue
public const string Error_WindowFunction_NthValue = "NTH_VALUE is not supported by current provider."
Field Value
Error_WindowFunction_NthValueFrom
public const string Error_WindowFunction_NthValueFrom = "NTH_VALUE FROM LAST is not supported by current provider."
Field Value
Error_WindowFunction_NullTreatment
public const string Error_WindowFunction_NullTreatment = "IGNORE NULLS is not supported by current provider."
Field Value
Error_WindowFunction_OrderedSetFilter
public const string Error_WindowFunction_OrderedSetFilter = "FILTER (WHERE ...) on ordered-set aggregates (PERCENTILE_CONT/PERCENTILE_DISC) is not supported by current provider."
Field Value
Error_WindowFunction_PercentRank
public const string Error_WindowFunction_PercentRank = "PERCENT_RANK is not supported by current provider."
Field Value
Error_WindowFunction_PercentileCont
public const string Error_WindowFunction_PercentileCont = "PERCENTILE_CONT is not supported by current provider."
Field Value
Error_WindowFunction_PercentileDisc
public const string Error_WindowFunction_PercentileDisc = "PERCENTILE_DISC is not supported by current provider."
Field Value
Error_WindowFunction_Variance
public const string Error_WindowFunction_Variance = "STDDEV/VARIANCE is not supported by current provider."
Field Value
Error_WindowFunctionsInSearchCondition
public const string Error_WindowFunctionsInSearchCondition = "Window functions cannot be used in search condition."