AbstractionsStrings 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
EF 例外中使用的字串資源等等。
這些字串公開供資料庫提供者與擴充功能使用。 應用程式程式碼需要這些字串是不尋常的。
[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
- 繼承
-
AbstractionsStrings
- 屬性
屬性
| 名稱 | Description |
|---|---|
| ArgumentIsEmpty |
字串參數不能為空。 |
| ArgumentIsNegativeNumber |
數字論證不可能是負數。 |
| CannotSpecifyBothIsDescendingAndAllDescending |
IsDescending 和 AllDescending 不能同時指定在 [Index] 屬性上。 |
| CollectionArgumentHasEmptyElements |
集合參數不得包含任何空元素。 |
| CollectionArgumentIsEmpty |
集合論證必須包含至少一個元素。 |
方法
| 名稱 | Description |
|---|---|
| ArgumentIsEmpty(Object) |
字串參數 '{argumentName}' 不能是空的。 |
| ArgumentIsNegativeNumber(Object) |
數參數 '{argumentName}' 不可能是負數。 |
| CollectionArgumentHasEmptyElements(Object) |
集合參數 '{argumentName}' 不得包含任何空元素。 |
| CollectionArgumentIsEmpty(Object) |
集合參數 '{argumentName}' 必須至少包含一個元素。 |
| InvalidNumberOfIndexSortOrderValues(Object, Object) |
索引排序順序值數量不正確:雖然提供了 {numValues} 值,但索引有 {numProperties} 屬性。 |