C# 클래스 Npgsql.NpgsqlConnectionStringBuilder

Provides a simple way to create and manage the contents of connection strings used by the NpgsqlConnection class.
상속: System.Data.Common.DbConnectionStringBuilder
파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetDefaultValue object
GetKey Keywords
GetKeyName string
NpgsqlConnectionStringBuilder System
SetValue void
SetValue void
ToBoolean System.Boolean
ToInt32 int
ToIntegratedSecurity System.Boolean
ToProtocolVersion ProtocolVersion
ToSslMode SslMode
ToString string

공개 메소드들

메소드 설명
Clear ( ) : void

Clear the member and assign them to the default value.

Clone ( ) : NpgsqlConnectionStringBuilder

Return an exact copy of this NpgsqlConnectionString.

ContainsKey ( Keywords keyword ) : bool
NpgsqlConnectionStringBuilder ( string connectionString ) : System
Remove ( string keyword ) : bool
this ( Keywords keyword ) : object
this ( string keyword ) : object

Case insensative accessor for indivual connection string values.

비공개 메소드들

메소드 설명
GetDefaultValue ( Keywords keyword ) : object
GetKey ( string key ) : Keywords
GetKeyName ( Keywords keyword ) : string
NpgsqlConnectionStringBuilder ( ) : System
SetValue ( Keywords keyword, object value ) : void

The function will modify private member only, not base[key].

SetValue ( string keyword, object value ) : void

This function will set value for known key, both private member and base[key].

ToBoolean ( object value ) : System.Boolean
ToInt32 ( object value, int min, int max, string key ) : int
ToIntegratedSecurity ( object value ) : System.Boolean
ToProtocolVersion ( object value ) : ProtocolVersion
ToSslMode ( object value ) : SslMode
ToString ( ProtocolVersion protocolVersion ) : string

메소드 상세

Clear() 공개 메소드

Clear the member and assign them to the default value.
public Clear ( ) : void
리턴 void

Clone() 공개 메소드

Return an exact copy of this NpgsqlConnectionString.
public Clone ( ) : NpgsqlConnectionStringBuilder
리턴 NpgsqlConnectionStringBuilder

ContainsKey() 공개 메소드

public ContainsKey ( Keywords keyword ) : bool
keyword Keywords
리턴 bool

NpgsqlConnectionStringBuilder() 공개 메소드

public NpgsqlConnectionStringBuilder ( string connectionString ) : System
connectionString string
리턴 System

Remove() 공개 메소드

public Remove ( string keyword ) : bool
keyword string
리턴 bool

this() 공개 메소드

public this ( Keywords keyword ) : object
keyword Keywords
리턴 object

this() 공개 메소드

Case insensative accessor for indivual connection string values.
public this ( string keyword ) : object
keyword string
리턴 object