Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The use of CommandBehavior.SchemaOnly
Message
From
06/04/2007 13:49:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
The use of CommandBehavior.SchemaOnly
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01213028
Message ID:
01213028
Views:
109
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 Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform