메소드 | 설명 | |
---|---|---|
GetConnectionString ( System.Collections.IDictionary config ) : string |
Gets the connection string from the given configuration dictionary.
|
|
GetConnectionString ( System.Collections.IDictionary config, bool resolveDataSource ) : string |
Gets the connection string from the given configuration, resolving ~/ and DataDirectory if necessary.
|
|
GetConnectionStringProviderName ( System.Collections.IDictionary config ) : string |
Gets the provider name from the named connection string (if supplied) from the given configuration dictionary.
|
|
GetDataSourceFilePath ( string connectionString ) : string |
Extracts the Data Source file path from a connection string ~/ gets resolved as does |DataDirectory|
|
|
GetResolvedConnectionString ( string connectionString ) : string |
Converts the supplied connection string so that the Data Source specification contains the full path and not ~/ or DataDirectory.
|
메소드 | 설명 | |
---|---|---|
GetDataSourceFilePath ( |
||
MapPath ( string path ) : string | ||
ResolveDataSourceFilePath ( string path ) : string |
public static GetConnectionString ( System.Collections.IDictionary config ) : string | ||
config | System.Collections.IDictionary | |
리턴 | string |
public static GetConnectionString ( System.Collections.IDictionary config, bool resolveDataSource ) : string | ||
config | System.Collections.IDictionary | |
resolveDataSource | bool | |
리턴 | string |
public static GetConnectionStringProviderName ( System.Collections.IDictionary config ) : string | ||
config | System.Collections.IDictionary | |
리턴 | string |
public static GetDataSourceFilePath ( string connectionString ) : string | ||
connectionString | string | |
리턴 | string |
public static GetResolvedConnectionString ( string connectionString ) : string | ||
connectionString | string | |
리턴 | string |