AbstractionsStrings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för