Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start Creating Business Objects - C# Error
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01242992
Message ID:
01243077
Vues:
24
Shawn,

>Step 7: Testing the orders business object gives me an error doing a method call on GetOrderByOrderID.
>
>An unhandled exception of type 'System.ArgumentException' occurred in Mere Mortals Framework 2005.dll
>
>Additional information: Keyword not supported: 'catalog'.

Make sure ABusinessObject has this setting in its constructor:
this.DefaultCommandType = CommandType.StoredProcedure;
Make sure your custom business object doesn't have a DefaultCommandType setting in its constructor. If it does, remove it.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform