Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching Dataset backends quickly
Message
De
31/07/2007 00:53:20
 
 
À
30/07/2007 15:44:58
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 8.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01243434
Message ID:
01244761
Vues:
30
>the Designer creates an .xsd rather than using a utility. In our utility, it's simply a matter of getting a DataSet by calling a Stored Proc (you would execute SELECT commands) and then creating an .xsd by using the DataSet.WriteXmlSchema() method.

Hmm... I think what I'm not getting is what the .XSD is used for. I had assumed it was used by the IDE for creating the DataSet.Designer.cs file, are you using the .XSD at run time in your programs?

>Yes, and here's part of my point ... the connection string shouldn't even be *in* the DataSet class. A connection string should have absolutely *nothing* to do with a DataSet. The connection string belongs in the DataAccess layer and, IMHO, this is separate from the DataSets.

That part I got and it makes perfect sense to me.

I appreciate your help on this, there is so much to understand when you are getting ready to write decent sized apps in a new language. Understanding the basics of how to lay things out in the new system really helps!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform