C# Class System.Data.Common.DbConnectionOptions

ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AppendKeyValuePairBuilder void
CompareInsensitiveInvariant bool
ConvertToInt32Internal int
ConvertValueToBooleanInternal bool
ConvertValueToIntegratedSecurityInternal bool
DebugTraceKeyValuePair void
ExpandKeyword string
GetKeyName string
GetKeyValue string
GetKeyValuePair int
IsKeyNameValid bool
IsValueValidInternal bool
ParseComparison void
ParseInternal NameValuePair
ReplacePasswordPwd NameValuePair
SplitConnectionString Hashtable
UsersConnectionString string
UsersConnectionStringForTrace string
ValidateKeyValuePair void

Public Methods

Method Description
ContainsKey ( string keyword ) : bool
ConvertValueToBoolean ( string keyName, bool defaultValue ) : bool
ConvertValueToInt32 ( string keyName, int defaultValue ) : int
ConvertValueToIntegratedSecurity ( ) : bool
ConvertValueToString ( string keyName, string defaultValue ) : string
DbConnectionOptions ( string connectionString ) : System.Collections
DbConnectionOptions ( string connectionString, Hashtable synonyms, bool useOdbcRules ) : System.Collections
UsersConnectionString ( bool hidePassword ) : string
this ( string keyword ) : string

Protected Methods

Method Description
DbConnectionOptions ( DbConnectionOptions connectionOptions ) : System.Collections
Expand ( ) : string

Private Methods

Method Description
AppendKeyValuePairBuilder ( StringBuilder builder, string keyName, string keyValue, bool useOdbcRules ) : void
CompareInsensitiveInvariant ( string strvalue, string strconst ) : bool
ConvertToInt32Internal ( string keyname, string stringValue ) : int
ConvertValueToBooleanInternal ( string keyName, string stringValue ) : bool
ConvertValueToIntegratedSecurityInternal ( string stringValue ) : bool
DebugTraceKeyValuePair ( string keyname, string keyvalue, Hashtable synonyms ) : void
ExpandKeyword ( string keyword, string replacementValue ) : string
GetKeyName ( StringBuilder buffer ) : string
GetKeyValue ( StringBuilder buffer, bool trimWhitespace ) : string
GetKeyValuePair ( string connectionString, int currentPosition, StringBuilder buffer, bool useOdbcRules, string &keyname, string &keyvalue ) : int
IsKeyNameValid ( string keyname ) : bool
IsValueValidInternal ( string keyvalue ) : bool
ParseComparison ( Hashtable parsetable, string connectionString, Hashtable synonyms, bool firstKey, Exception e ) : void
ParseInternal ( Hashtable parsetable, string connectionString, bool buildChain, Hashtable synonyms, bool firstKey ) : NameValuePair
ReplacePasswordPwd ( string &constr, bool fakePassword ) : NameValuePair
SplitConnectionString ( string connectionString, Hashtable synonyms, bool firstKey ) : Hashtable
UsersConnectionString ( bool hidePassword, bool forceHidePassword ) : string
UsersConnectionStringForTrace ( ) : string
ValidateKeyValuePair ( string keyword, string value ) : void

Method Details

ContainsKey() public method

public ContainsKey ( string keyword ) : bool
keyword string
return bool

ConvertValueToBoolean() public method

public ConvertValueToBoolean ( string keyName, bool defaultValue ) : bool
keyName string
defaultValue bool
return bool

ConvertValueToInt32() public method

public ConvertValueToInt32 ( string keyName, int defaultValue ) : int
keyName string
defaultValue int
return int

ConvertValueToIntegratedSecurity() public method

public ConvertValueToIntegratedSecurity ( ) : bool
return bool

ConvertValueToString() public method

public ConvertValueToString ( string keyName, string defaultValue ) : string
keyName string
defaultValue string
return string

DbConnectionOptions() protected method

protected DbConnectionOptions ( DbConnectionOptions connectionOptions ) : System.Collections
connectionOptions DbConnectionOptions
return System.Collections

DbConnectionOptions() public method

public DbConnectionOptions ( string connectionString ) : System.Collections
connectionString string
return System.Collections

DbConnectionOptions() public method

public DbConnectionOptions ( string connectionString, Hashtable synonyms, bool useOdbcRules ) : System.Collections
connectionString string
synonyms Hashtable
useOdbcRules bool
return System.Collections

Expand() protected method

protected Expand ( ) : string
return string

UsersConnectionString() public method

public UsersConnectionString ( bool hidePassword ) : string
hidePassword bool
return string

this() public method

public this ( string keyword ) : string
keyword string
return string