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.

public static class AbstractionsStrings
type AbstractionsStrings = class
Public Class AbstractionsStrings
Inheritance
AbstractionsStrings

Properties

CannotSpecifyBothIsDescendingAndAllDescending

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

Methods

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