Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The use of CommandBehavior.SchemaOnly
Message
De
06/04/2007 19:06:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/04/2007 13:49:10
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01213028
Message ID:
01213141
Vues:
12
>When comes time to get the schema of a table, I see there is the ability to pass a parameter to the ExecuteReader() method. This is one example:
>
>
>oDataReader = oCommand.ExecuteReader(CommandBehavior.KeyInfo Or CommandBehavior.SchemaOnly)
>
>
>So far, I wasn't including a parameter. If I only want to the get the schema, should I use use the CommandBehavior.SchemaOnly. And, what is the use of those two parameters?

Michel,
For getting schema info you can use getshema.
Re: Obtain table names in VFP database Thread #1172879 Message #1172940
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform