메소드 | 설명 | |
---|---|---|
BuildConnectionString ( string dbDataSource, string dbName, string dbFileName ) : string | ||
CheckLocalDB ( string connectionString ) : void |
The check local db.
|
|
CreateDatabase ( string dbDataSource, string dbName, string dbFileName ) : bool |
Create new database.
|
|
DetachDatabase ( string dbDataSource, string dbName ) : bool |
Detach database.
|
|
GetDataSourceName ( string connectionString ) : string | ||
GetDatabaseFileName ( string connectionString ) : string | ||
GetDatabaseName ( string connectionString ) : string |
public static BuildConnectionString ( string dbDataSource, string dbName, string dbFileName ) : string | ||
dbDataSource | string | |
dbName | string | |
dbFileName | string | |
리턴 | string |
public static CheckLocalDB ( string connectionString ) : void | ||
connectionString | string | /// The connection string. /// |
리턴 | void |
public static CreateDatabase ( string dbDataSource, string dbName, string dbFileName ) : bool | ||
dbDataSource | string | /// The db data source. /// |
dbName | string | /// The db name. /// |
dbFileName | string | /// The db file name. /// |
리턴 | bool |
public static DetachDatabase ( string dbDataSource, string dbName ) : bool | ||
dbDataSource | string | /// The db data source. /// |
dbName | string | /// The db name. /// |
리턴 | bool |
public static GetDataSourceName ( string connectionString ) : string | ||
connectionString | string | |
리턴 | string |
public static GetDatabaseFileName ( string connectionString ) : string | ||
connectionString | string | |
리턴 | string |
public static GetDatabaseName ( string connectionString ) : string | ||
connectionString | string | |
리턴 | string |