Summary

 

  • Metadata is data that describes other data. It is important in applications that need the ability to identify and possibly adjust to changes in the backend data store.

  • In ADO.NET, metadata is exposed through the DbConnection object's GetSchema method, which you can call with no parameters to get a metadata collection list.

  • The GetSchema method contains an overload that accepts a collection name, such as Tables or Databases.

  • You can use a GetSchema overload that accepts a collection name and an array of restriction filter strings to narrow the scope of the returned data.

  • The metadata can be changed to get the behavior that you desire, or extended to add more metadata options.

  • The unique identifier parts are the restrictions you are required to pass to the GetSchema method to retrieve a single unique value.

 


Programming Microsoft ADO. NET 2.0 Applications. Advanced Topics
Linux Application Development (2nd Edition)
ISBN: 735621411
EAN: 2147483647
Year: 2004
Pages: 85

Similar book on Amazon
Beginning Linux Programming
Beginning Linux Programming
Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series)
Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series)
Tom Swan's GNU C++ for Linux (Professional Dev. Guide)
Tom Swan's GNU C++ for Linux (Professional Dev. Guide)

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