ExecutionOptions.Equality 运算符
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
确定指定的对象是否相等。
命名空间: System.Data.Entity.Core.Objects
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Shared Operator = ( _
left As ExecutionOptions, _
right As ExecutionOptions _
) As Boolean
用法
Dim left As ExecutionOptions
Dim right As ExecutionOptions
Dim returnValue As Boolean
returnValue = (left = right)
public static bool operator ==(
ExecutionOptions left,
ExecutionOptions right
)
public:
static bool operator ==(
ExecutionOptions^ left,
ExecutionOptions^ right
)
static let inline(=)
left:ExecutionOptions *
right:ExecutionOptions : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
参数
- left
类型:System.Data.Entity.Core.Objects.ExecutionOptions
要比较的左侧对象。
- right
类型:System.Data.Entity.Core.Objects.ExecutionOptions
要比较的右侧对象。
返回值
类型:System.Boolean
如果两个对象相等,则为 true;否则为 false。