MergeFailedEventArgs 类

定义

在目标和源 DataRow 具有相同的主键值,且将 EnforceConstraints 属性设置为“真”时发生。Occurs when a target and source DataRow have the same primary key value, and the EnforceConstraints property is set to true.

public ref class MergeFailedEventArgs : EventArgs
public class MergeFailedEventArgs : EventArgs
type MergeFailedEventArgs = class
    inherit EventArgs
Public Class MergeFailedEventArgs
Inherits EventArgs
继承
MergeFailedEventArgs

构造函数

MergeFailedEventArgs(DataTable, String)

使用 MergeFailedEventArgs 和合并冲突说明来初始化 DataTable 类的新实例。Initializes a new instance of a MergeFailedEventArgs class with the DataTable and a description of the merge conflict.

属性

Conflict

返回合并冲突的说明。Returns a description of the merge conflict.

Table

返回 DataTable 对象。Returns the DataTable object.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于