EntityChangeSet.IsEmpty 属性

获取一个值,该值指示 EntityChangeSet 是否已更改。

命名空间: System.ServiceModel.DomainServices.Client
程序集: System.ServiceModel.DomainServices.Client(在 system.servicemodel.domainservices.client.dll 中)

用法

用法
Dim instance As EntityChangeSet
Dim value As Boolean

value = instance.IsEmpty

语法

声明
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty { get; }
public:
property bool IsEmpty {
    bool get ();
}
/** @property */
public boolean get_IsEmpty ()
public function get IsEmpty () : boolean

属性值

如果 EntityChangeSet 有任何更改,则为 true;否则为 false

线程安全

此类型的任何公共静态(在 Visual Basic 中为 共享)成员都是线程安全的。不保证所有实例成员都是线程安全的。

平台

开发平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000

目标平台

另请参见

参考

EntityChangeSet 类
EntityChangeSet 成员
System.ServiceModel.DomainServices.Client 命名空间