Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The use of CommandBehavior.SchemaOnly
Message
From
06/04/2007 19:06:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/04/2007 13:49:10
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01213028
Message ID:
01213141
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform