Summary

In this chapter, you delved into the details of UniqueConstraint and ForeignKeyConstraint objects. You also learned how to define a relationship between DataTable objects using a DataRelation object, which by default automatically creates a UniqueConstraint and a ForeignKeyConstraint object for you. The UniqueConstraint object is added to your parent DataTable and the ForeignKeyConstraint is added to your child DataTable.

You also saw how to navigate rows in related DataTable objects, make changes in related DataTable objects, and finally push those changes to the database. You also saw how to use VS .NET to define a relationship.

In the next chapter, you'll learn how to use DataView objects.




Mastering C# Database Programming
Mastering the SAP Business Information Warehouse: Leveraging the Business Intelligence Capabilities of SAP NetWeaver
ISBN: 0764596373
EAN: 2147483647
Year: 2003
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net