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_Concurrency_UpdateWithRefresh_NotSupported
public const string Error_Concurrency_UpdateWithRefresh_NotSupported = "UpdateOptimisticWithRefresh requires the provider to either return updated rows from the UPDATE statement (OUTPUT / RETURNING) or report the number of affected rows. The current provider supports neither, so the optimistic-concurrency result cannot be guaranteed."
Field Value
Error_Concurrency_UpdateWithRefresh_ReadOnlyLockMember
public const string Error_Concurrency_UpdateWithRefresh_ReadOnlyLockMember = "UpdateOptimisticWithRefresh cannot refresh '{0}.{1}': the optimistic-lock member has no setter, so the regenerated value cannot be written back onto the entity."
Field Value
Error_Concurrency_UpdateWithRefresh_UnsupportedSource
public const string Error_Concurrency_UpdateWithRefresh_UnsupportedSource = "UpdateOptimisticWithRefresh cannot refresh through '{0}': the query operator does not expose the updated table as its source, so the regenerated value cannot be read back reliably."
Field Value
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_EnumerationNotStarted
public const string Error_EnumerationNotStarted = "Enumeration not started."
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_Interval_ComponentBelowResolution
{0} - the requested component unit, {1} - the finest unit the provider resolves.
public const string Error_Interval_ComponentBelowResolution = "Current provider measures elapsed time to the {1}, so the {0} component of an interval is always zero and is not translated."
Field Value
Error_Interval_Difference
Spelled out rather than terse, unlike its neighbours, because this one describes a capability that was
taken away rather than one that never existed: before 6.5 the same expression was rewritten into
Sql.DateDiff, which counts crossed boundaries instead of measuring elapsed time. Provider-neutral
wording because more than one provider reaches it.
public const string Error_Interval_Difference = "Subtracting one date/time value from another is not supported by current provider. Compute the difference in .NET, or use Sql.DateDiff where a count of crossed unit boundaries answers the question."
Field Value
Error_Interval_Member
public const string Error_Interval_Member = "This TimeSpan member is not supported by current provider."
Field Value
Error_Interval_Operation
public const string Error_Interval_Operation = "This TimeSpan operation is not supported by current provider."
Field Value
Error_Interval_Shift
public const string Error_Interval_Shift = "Adding a TimeSpan to a date/time value is not supported by current provider."
Field Value
Error_Interval_UndeclaredOperand
Names the declaration rather than the provider, because no provider can answer this one: the two stored numbers are counted in different units and only one of them says so.
public const string Error_Interval_UndeclaredOperand = "Cannot combine a duration whose unit is declared with one stored through a value converter, which does not say what its number counts. Declare that column with DurationAttribute, or combine the two in .NET."
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_LinqToDBQueryExpected
public const string Error_LinqToDBQueryExpected = "Linq To DB query expected"
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_ValueConverter_DivergentOperands
{0} and {1} - the two columns. Named rather than described, because two conversions are
indistinguishable in the query text and the mistake is in the model rather than in what was written.
public const string Error_ValueConverter_DivergentOperands = "Cannot combine '{0}' and '{1}' in the database: their value converters do not agree on what a stored value counts, so the two stored values are not commensurable and the result would be read through one of the conversions only. Combine them in .NET, or give both columns the same conversion."
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_FirstLastValueBoolean
public const string Error_WindowFunction_FirstLastValueBoolean = "FIRST_VALUE/LAST_VALUE over a boolean 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_PercentileContBooleanOrderBy
public const string Error_WindowFunction_PercentileContBooleanOrderBy = "PERCENTILE_CONT over a boolean sort key is not supported."
Field Value
Error_WindowFunction_PercentileDisc
public const string Error_WindowFunction_PercentileDisc = "PERCENTILE_DISC is not supported by current provider."
Field Value
Error_WindowFunction_PercentileDiscBooleanOrderBy
public const string Error_WindowFunction_PercentileDiscBooleanOrderBy = "PERCENTILE_DISC over a boolean sort key 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."