Typed Datasets in the Marketing System

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The Microsoft Commerce Server Marketing System uses typed datasets to improve performance. Datasets employ a disconnected model to let the Marketing System interact with real-time data in the absence of a live database connection. Creating or maintaining a database connection is one of the most resource-intensive activities in any application, and reducing the volume and length of connections can result in improved performance. In the .NET Framework, datasets can have all of their properties dynamically generated, or they can be typed when they are created. Typing provides a pre-built schema against which data can be validated as it is inserted into the dataset.

All the dataset classes detailed here can be found in the Microsoft.CommerceServer.Marketing namespace. You can access the schema information for each of the typed datasets by using the DataColumn class in the .NET Framework System.Data namespace. For more information about the schema included in the dataset, see the .NET Framework DataAdapter.FillSchema method.

In This Section