Skip to main content

Abstract

I just finished another long e-mail exchange with David Sceppa about some of the finer details of ADO.NET. I told him that I didn’t agree with some of the approaches Microsoft has taken toward handling data constraints, referential integrity, and data validation. He reminded me that developers don’t have to use them. That’s very true. IMHO, these features will be handy for a subset of the developers using ADO.NET—but not nearly all. This chapter discusses how ADO.NET has implemented referential and data constraints and also how to specify the relationships between tables in your database. I know, you’ve already done that and you’re wondering why ADO.NET doesn’t figure this out by itself. That’s a question I’m not prepared to answer.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Apress

About this chapter

Cite this chapter

Vaughn, W.R., Blackburn, P. (2002). ADO.NET Constraint Strategies. In: ADO.NET Examples and Best Practices for C# Programmers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1099-3_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-1099-3_8

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-012-6

  • Online ISBN: 978-1-4302-1099-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics