DataServiceFactory.GetDataService

This method can be used to retrieve a valid data service.
This method is designed to be called by BusinessObject instances.
Depending on the application configuration, a valid DataService will be returned.

public static IDataService GetDataService( string dataConfigurationPrefix );

Return Value

DataService

Parameters

dataConfigurationPrefix
This prefix can be used to differentiate different database connection settings.

Overloads:

public static IDataService GetDataService( string dataConfigurationPrefix, string serviceIdentifier );

See also:

Class DataServiceFactory


  Last Updated: 5/23/2007 | © , 2007