Share via


AbstractionsStrings Class

Definition

String resources used in EF exceptions, etc.

These strings are exposed publicly for use by database providers and extensions. It is unusual for application code to need these strings.

[System.Runtime.CompilerServices.Nullable(0)]
public static class AbstractionsStrings
public static class AbstractionsStrings
[<System.Runtime.CompilerServices.Nullable(0)>]
type AbstractionsStrings = class
type AbstractionsStrings = class
Public Class AbstractionsStrings
Inheritance
AbstractionsStrings
Attributes

Properties

Name Description
ArgumentIsEmpty

The string argument cannot be empty.

ArgumentIsNegativeNumber

The number argument cannot be a negative number.

CannotSpecifyBothIsDescendingAndAllDescending

IsDescending and AllDescending cannot both be specified on the [Index] attribute.

CollectionArgumentHasEmptyElements

The collection argument must not contain any empty elements.

CollectionArgumentIsEmpty

The collection argument must contain at least one element.

Methods

Name Description
ArgumentIsEmpty(Object)

The string argument '{argumentName}' cannot be empty.

ArgumentIsNegativeNumber(Object)

The number argument '{argumentName}' cannot be negative number.

CollectionArgumentHasEmptyElements(Object)

The collection argument '{argumentName}' must not contain any empty elements.

CollectionArgumentIsEmpty(Object)

The collection argument '{argumentName}' must contain at least one element.

InvalidNumberOfIndexSortOrderValues(Object, Object)

Invalid number of index sort order values: {numValues} values were provided, but the index has {numProperties} properties.

Applies to