Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The use of CommandBehavior.SchemaOnly
Message
From
09/04/2007 08:54:12
 
 
To
09/04/2007 06:46:29
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
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:
01213399
Views:
13
>Michel you can only use one CommandBehavior value, note that on your example the CommandBehavior.KeyInfo returns column and primary key information.
>When KeyInfo is used for command execution, the provider will append extra columns to the result set for existing primary key and timestamp columns.
>Bottom line is that you can only use 1 CommandBehavior parameter on the ExecuteReader method.

Thanks
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
Previous
Reply
Map
View

Click here to load this message in the networking platform