C# 클래스 System.Data.UniqueConstraint

상속: Constraint
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertConstraintAndKeyIndexes void
CanBeRemovedFromCollection bool
CanEnableConstraint bool
CheckCanAddToCollection void
CheckConstraint void
CheckState void
Clone Constraint
Clone Constraint
Clone UniqueConstraint
ConstraintIndexClear void
ConstraintIndexInitialize void
ContainsColumn bool
Create void
IsConstraintViolated bool
NonVirtualCheckState void
UniqueConstraint System.Diagnostics

공개 메소드들

메소드 설명
Equals ( object key2 ) : bool

Compares this constraint to a second to determine if both are identical.

GetHashCode ( ) : int
UniqueConstraint ( DataColumn column ) : System.Diagnostics

Initializes a new instance of the with the specified .

UniqueConstraint ( DataColumn column, bool isPrimaryKey ) : System.Diagnostics

Initializes a new instance of the with the specified .

UniqueConstraint ( string name, DataColumn column ) : System.Diagnostics

Initializes a new instance of the with the specified name and .

UniqueConstraint ( string name, DataColumn column, bool isPrimaryKey ) : System.Diagnostics

Initializes a new instance of the with the specified name and .

비공개 메소드들

메소드 설명
AssertConstraintAndKeyIndexes ( ) : void
CanBeRemovedFromCollection ( ConstraintCollection constraints, bool fThrowException ) : bool
CanEnableConstraint ( ) : bool
CheckCanAddToCollection ( ConstraintCollection constraints ) : void
CheckConstraint ( DataRow row, DataRowAction action ) : void
CheckState ( ) : void
Clone ( DataSet destination ) : Constraint
Clone ( DataSet destination, bool ignorNSforTableLookup ) : Constraint
Clone ( DataTable table ) : UniqueConstraint
ConstraintIndexClear ( ) : void
ConstraintIndexInitialize ( ) : void
ContainsColumn ( DataColumn column ) : bool
Create ( string constraintName, DataColumn columns ) : void
IsConstraintViolated ( ) : bool
NonVirtualCheckState ( ) : void
UniqueConstraint ( string name, string columnNames, bool isPrimaryKey ) : System.Diagnostics

메소드 상세

Equals() 공개 메소드

Compares this constraint to a second to determine if both are identical.
public Equals ( object key2 ) : bool
key2 object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

UniqueConstraint() 공개 메소드

Initializes a new instance of the with the specified .
public UniqueConstraint ( DataColumn column ) : System.Diagnostics
column DataColumn
리턴 System.Diagnostics

UniqueConstraint() 공개 메소드

Initializes a new instance of the with the specified .
public UniqueConstraint ( DataColumn column, bool isPrimaryKey ) : System.Diagnostics
column DataColumn
isPrimaryKey bool
리턴 System.Diagnostics

UniqueConstraint() 공개 메소드

Initializes a new instance of the with the specified name and .
public UniqueConstraint ( string name, DataColumn column ) : System.Diagnostics
name string
column DataColumn
리턴 System.Diagnostics

UniqueConstraint() 공개 메소드

Initializes a new instance of the with the specified name and .
public UniqueConstraint ( string name, DataColumn column, bool isPrimaryKey ) : System.Diagnostics
name string
column DataColumn
isPrimaryKey bool
리턴 System.Diagnostics