C# Class Cedar.Core.Data.DatabaseFactories

The factory to create T:Cedar.Core.Data.Database by the specified connection string name.
显示文件 Open project: Chinaccn/surfboard

Public Methods

Method Description
GetDatabase ( ) : Database

Gets the database.

GetDatabase ( string databaseName ) : Database

Gets the database.

Method Details

GetDatabase() public static method

Gets the database.
public static GetDatabase ( ) : Database
return Database

GetDatabase() public static method

Gets the database.
public static GetDatabase ( string databaseName ) : Database
databaseName string Name of the connection string.
return Database