Share via


AbstractionsStrings 类

定义

EF 异常中使用的字符串资源等。

这些字符串公开供数据库提供程序和扩展使用。 应用程序代码需要这些字符串是不寻常的。

public static class AbstractionsStrings
type AbstractionsStrings = class
Public Class AbstractionsStrings
继承
AbstractionsStrings

属性

CannotSpecifyBothIsDescendingAndAllDescending

无法同时在 [Index] 属性上指定 IsDescending 和 AllDescending。

方法

ArgumentIsEmpty(Object)

字符串参数“{argumentName}”不能为空。

ArgumentIsNegativeNumber(Object)

数字参数“{argumentName}”不能为负数。

CollectionArgumentHasEmptyElements(Object)

集合参数“{argumentName}”不得包含任何空元素。

CollectionArgumentIsEmpty(Object)

集合参数“{argumentName}”必须至少包含一个元素。

InvalidNumberOfIndexSortOrderValues(Object, Object)

索引排序顺序值的数目无效:提供了 {numValues} 值,但索引具有 {numProperties} 属性。

适用于