intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

The UniqueConstraint Class

Chia sẻ: Tuan Nghia | Ngày: | Loại File: PDF | Số trang:1

93
lượt xem
4
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

The UniqueConstraint Class You use an object of the UniqueConstraint class to ensure that a DataColumn value, or combination of DataColumn values, is unique for each DataRow in a DataTable.

Chủ đề:
Lưu

Nội dung Text: The UniqueConstraint Class

  1. The UniqueConstraint Class You use an object of the UniqueConstraint class to ensure that a DataColumn value, or combination of DataColumn values, is unique for each DataRow in a DataTable. The UniqueConstraint class is derived from the System.Data.Constraint class. Table 12.1 shows the UniqueConstraint properties. Table 12.1: UniqueConstraint PROPERTIES PROPERTY TYPE DESCRIPTION Columns DataColumn[] Gets the array of DataColumn objects for the UniqueConstraint. ConstraintName string Gets the name of the UniqueConstraint. ExtendedProperties PropertyCollection Gets the PropertyCollection object that you can use to store strings of additional information. IsPrimaryKey bool Gets a bool that indicates whether the UniqueConstraint is a primary key. Table DataTable Gets the DataTable on which the UniqueConstraint was created.
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2