Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom data access class - IDataAdapter.SelectCommand
Message
From
13/10/2004 14:19:58
 
 
To
13/10/2004 13:08:26
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00950319
Message ID:
00951153
Views:
9
>How do you do this? Do you open the generated class behind the dataset and change the inherits line? If this is so, how do you remember to re-do this when the code is regenerated?

Yes, you open up the the cs file behind your DataSet (e.g., VendorDataSet.cs), and change
    public class VendorDataSet : DataSet {
to
    using OakLeaf.MM.Main.Data;
    ...
    public class VendorDataSet : mmDataSet {
As far as I know, you just have to remember to re-do this manually when the class is regenerated. However, it only gets regenerated when you alter your schema (xsd), I'm sure.

Ric
Previous
Reply
Map
View

Click here to load this message in the networking platform