-->

22 February 2020

ADO.NET Constraint

  Asp.Net CS By Example       22 February 2020
 ADO.NET Constraint 

 In this post we are exploring more about Constraint class. We use an object of the Constraint class to represent a database constraint—such as unique values for a column or that a particular column is a foreign key into another table. We can store multiple Constraint objects in a DataTable.

Here some of the Constraint properties:

Sr.No Property Type Description
1) ConstraintName string Gets or sets the name of the Constraint object.
2) Table DataTable Gets the DataTable to which the Constraint object belongs.
logoblog

Thanks for reading ADO.NET Constraint

Previous
« Prev Post

No comments:

Post a Comment

Please do not enter any spam link in the comment box.