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,
string serviceIdentifier );
Return Value
DataService
Parameters
dataConfigurationPrefix
This prefix can be used to differentiate different database connection settings.
serviceIdentifier
This parameter can be used to retrieve different connection options (such as an SQL Server data service and an Oracle datasertice being shared by one application)
Overloads:
See also:
Class DataServiceFactory