SystemDataAccessKind 枚举

定义

描述用户定义的方法或函数对系统数据的访问类型。Describes the type of access to system data for a user-defined method or function.

public enum class SystemDataAccessKind
[System.Serializable]
public enum SystemDataAccessKind
type SystemDataAccessKind = 
Public Enum SystemDataAccessKind
继承
SystemDataAccessKind
属性

字段

None 0

方法或函数不访问系统数据。The method or function does not access system data.

Read 1

方法或函数读取系统数据。The method or function reads system data.

注解

描述用户定义的方法或函数对系统数据的访问类型。Describes the type of access to system data for a user-defined method or function.

此枚举在和SqlMethodAttribute SqlFunctionAttribute中用于指示对该方法或函数的系统数据的访问类型。This enumeration is used in SqlMethodAttribute and SqlFunctionAttribute to indicate what type of access to system data the method or function has.

请注意, 不允许方法和函数对数据库进行更改, 因此此枚举None的选项为 (意味着没有由方法或函数执行的数据访问) 和Read (表示方法或函数执行只读数据访问操作, 如执行 SELECT 语句)。Note that methods and functions are not allowed to make changes to the database, so the options for this enumeration are None (meaning no data-access performed by the method or function) and Read (meaning that the method or function performs read-only data-access operations, such as executing SELECT statements).

适用于