Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Studio can't find DataSet class
Message
De
28/04/2004 16:06:55
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Visual Studio can't find DataSet class
Divers
Thread ID:
00899100
Message ID:
00899100
Vues:
36
I'm just starting to use MM and am trying to follow the "jump start" documentation to set up business classes (C#) for accessing the Northwind data. But I get a error on "DataSet" - "Expected class...". I must have forgotten something in the setup, but I have no idea where to look. Thanks!

For example:

using System;
using System.Data;
using OakLeaf.MM.Main.Business;

namespace Chesapeake.Northwind.Business
{
public class Shippers : ABusinessObject
{
public Shippers()
{
this.TableName = "Shippers";
this.PrimaryKey = "ShipperID";
}
}
public DataSet GetAllShippers()
{
return this.GetDataSet("SELECT * FROM Shippers");
}

}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform