Caprices

SQLiteConnectionStringBuilder

SQLiteConnectionを使用するための接続文字列を作成する

継承

  1. DbConnectionStringBuilder
コンストラクタ
▲上へ
public SQLiteConnectionStringBuilder();
概要
Default constructor
デフォルト コンストラクタ
public SQLiteConnectionStringBuilder( string connectionString );
概要
Constructs a new instance of the class using the specified connection string.
指定された接続文字列を使って初期化する
パラメーター
connectionString
The connection string to parse
構文解析される接続文字列
プロパティ
▲上へ
public string BaseSchemaName { get set }
概要
Gets/Sets the placeholder base schema name used for .NET Framework compatibility purposes.
プレースホールダーベーススキーマ名は.NET Framework互換性目的のために使った。
デフォルト コンストラクタ使用時 : null
public bool BinaryGUID { get set }
概要
Gets/Sets whethor not to store GUID's in binary format. The default is True which saves space in the database.
GUIDを中 バイナリフォーマット に蓄えないwhethor。デフォルトは、スペースをデータベースに保存する真である。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public int BusyTimeout { get set }
概要
Gets/sets the busy timeout to use with the SQLite core library.
SQLite中心的ライブラリによって使う忙しいタイムアウト。
デフォルト コンストラクタ使用時 : 0
public int CacheSize { get set }
概要
Gets/Sets the cache size for the connection.
接続のためのキャッシュサイズ
デフォルト コンストラクタ使用時 : -2000
public string DataSource { get set }
概要
Gets/Sets the filename to open on the connection string.
接続文字列で指定されているデータベースファイル名。
デフォルト コンストラクタ使用時 : ""
public SQLiteDateFormats DateTimeFormat { get set }
概要
Gets/Sets the DateTime format for the connection.
接続のためのDateTimeフォーマット
デフォルト コンストラクタ使用時 : Default
  • Ticks
  • ISO8601
  • Default
  • JulianDay
  • UnixEpoch
  • InvariantCulture
  • CurrentCulture
public string DateTimeFormatString { get set }
概要
Gets/sets the DateTime format string used for formatting and parsing purposes.
DateTimeフォーマットストリングは、目的をフォーマットし、構文解析するために使った。
デフォルト コンストラクタ使用時 : null
public DateTimeKind DateTimeKind { get set }
概要
Gets/Sets the DateTime kind for the connection.
接続のためのDateTime種類。
デフォルト コンストラクタ使用時 : Unspecified
  • Unspecified
  • Utc
  • Local
public DbType DefaultDbType { get set }
概要
Gets/sets the default database type for the connection.
接続のためのデフォルトデータベースタイプ。
デフォルト コンストラクタ使用時 : -1
  • AnsiString(0)
  • Binary(1)
  • Byte(2)
  • Boolean(3)
  • Currency(4)
  • Date(5)
  • DateTime(6)
  • Decimal(7)
  • Double(8)
  • Guid(9)
  • Int16(10)
  • Int32(11)
  • Int64(12)
  • Object(13)
  • SByte(14)
  • Single(15)
  • String(16)
  • Time(17)
  • UInt16(18)
  • UInt32(19)
  • UInt64(20)
  • VarNumeric(21)
  • AnsiStringFixedLength(22)
  • StringFixedLength(23)
  • Xml(25)
  • DateTime2(26)
  • DateTimeOffset(27)
public IsolationLevel DefaultIsolationLevel { get set }
概要
Sets the default isolation level for transactions on the connection.
セット 接続におけるトランザクションのためのデフォルト隔離レベル 。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public int DefaultTimeout { get set }
概要
Gets/sets the default command timeout for newly-created commands. This is especially useful for commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible.
新しく作成されたコマンドのためのデフォルトコマンドタイムアウト。これは、内部で 設定 タイムアウトが可能ではないSQLiteTransactionの中など使われたコマンドに特に有益である。
デフォルト コンストラクタ使用時 : 30
public string DefaultTypeName { get set }
概要
Gets/sets the default type name for the connection.
接続のためのデフォルトタイプ名。
デフォルト コンストラクタ使用時 : null
public bool Enlist { get set }
概要
Determines whether or not the connection will automatically participate in the current distributed transaction (if one exists)
接続が、現在の配布されたトランザクションに自動的に関与するかどうかを決定する(もしそれが存在するならば)
デフォルト コンストラクタ使用時 : True
public bool FailIfMissing { get set }
概要
If set to true, will throw an exception if the database specified in the connection string does not exist. If false, the database will be created automatically.
もし真に設定されるならば、もし接続ストリングにおいて指定されたデータベースが存在しないならば、例外を投げる。もし間違いならば、データベースは自動的に作成される。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public SQLiteConnectionFlags Flags { get set }
概要
Gets/Sets the extra behavioral flags.
特別な行動フラグ。
デフォルト コンストラクタ使用時 : Default
  • None(0)
  • LogPrepare(1)
  • LogPreBind(2)
  • LogBind(4)
  • LogCallbackException(8)
  • LogBackup(16)
  • NoExtensionFunctions(32)
  • BindUInt32AsInt64(64)
  • BindAllAsText(128)
  • GetAllAsText(256)
  • BindAndGetAllAsText(384)
  • NoLoadExtension(512)
  • NoCreateModule(1024)
  • NoBindFunctions(2048)
  • NoLogModule(4096)
  • LogModuleError(8192)
  • LogModuleException(16384)
  • LogDefault(16392)
  • LogAll(24607)
  • TraceWarning(32768)
  • ConvertInvariantText(65536)
  • BindInvariantText(131072)
  • BindAndGetAllAsInvariantText(131456)
  • ConvertAndBindInvariantText(196608)
  • ConvertAndBindAndGetAllAsInvariantText(196992)
  • NoConnectionPool(262144)
  • UseConnectionPool(524288)
  • UseConnectionTypes(1048576)
  • NoGlobalTypes(2097152)
  • StickyHasRows(4194304)
  • StrictEnlistment(8388608)
  • MapIsolationLevels(16777216)
  • DetectTextAffinity(33554432)
  • DetectStringType(67108864)
  • NoConvertSettings(134217728)
  • BindDateTimeWithKind(268435456)
  • RollbackOnException(536870912)
  • DenyOnException(1073741824)
  • InterruptOnException(2147483648)
  • UnbindFunctionsOnClose(4294967296)
  • NoVerifyTextAffinity(8589934592)
  • UseConnectionBindValueCallbacks(17179869184)
  • UseConnectionReadValueCallbacks(34359738368)
  • UseConnectionAllValueCallbacks(51539607552)
  • UseParameterNameForTypeName(68719476736)
  • UseParameterDbTypeForTypeName(137438953472)
  • UseParameterAnythingForTypeName(206158430208)
  • NoVerifyTypeAffinity(274877906944)
  • AllowNestedTransactions(549755813888)
  • BindDecimalAsText(1099511627776)
  • GetDecimalAsText(2199023255552)
  • BindInvariantDecimal(4398046511104)
  • GetInvariantDecimal(8796093022208)
  • Default(13194139549704)
  • DefaultAndLogAll(13194139557919)
  • WaitForEnlistmentReset(17592186044416)
  • GetInvariantInt64(35184372088832)
  • GetInvariantDouble(70368744177664)
  • StrictConformance(140737488355328)
  • HidePassword(281474976710656)
public bool ForeignKeys { get set }
概要
If enabled, use foreign key constraints
もし可能ならば、外国のキー制約を使いなさい
デフォルト コンストラクタ使用時 : False
public string FullUri { get set }
概要
An alternate to the data source property that uses the SQLite URI syntax.
SQLite URIシンタックスを使うデータソースプロパティへの交互。
デフォルト コンストラクタ使用時 : null
public byte[] HexPassword { get set }
概要
Gets/sets the database encryption hexadecimal password
データベース暗号化16進パスワード
デフォルト コンストラクタ使用時 : null
public SQLiteJournalModeEnum JournalMode { get set }
概要
Determines how SQLite handles the transaction journal file.
どのようにSQLiteがトランザクションジャーナルファイルを処理するかを決定する。
デフォルト コンストラクタ使用時 : Default
  • Default
  • Delete
  • Persist
  • Off
  • Truncate
  • Memory
  • Wal
public bool LegacyFormat { get set }
概要
If enabled, uses the legacy 3.xx format for maximum compatibility, but results in larger database sizes.
もし可能ならば、最大の互換性のための遺産3.xxフォーマットを使うけれども、より大きいデータベースサイズを結果として生じる。
デフォルト コンストラクタ使用時 : False
public int MaxPageCount { get set }
概要
Gets/Sets the maximum number of pages the database may hold
データベースが保持できる最大のページ数
デフォルト コンストラクタ使用時 : 0
public bool NoDefaultFlags { get set }
概要
If enabled, skip using the configured default connection flags.
もし可能ならば、設定されたデフォルト接続フラグを使うことを省略しなさい。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public bool NoSharedFlags { get set }
概要
If enabled, skip using the configured shared connection flags.
もし可能ならば、設定された共有された接続フラグを使うことを省略しなさい。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public int PageSize { get set }
概要
Gets/Sets the page size for the connection.
接続のためのページサイズ。
デフォルト コンストラクタ使用時 : 4096
public string Password { get set }
概要
Gets/sets the database encryption password
データベース暗号化パスワード
デフォルト コンストラクタ使用時 : ""
public bool Pooling { get set }
概要
Gets/Sets whether or not to use connection pooling. The default is "False"
接続に水たまりを作ることを使うか。デフォルトは「間違いである」
デフォルト コンストラクタ使用時 : False
public int PrepareRetries { get set }
概要
Gets/sets the maximum number of retries when preparing SQL to be executed. This normally only applies to preparation errors resulting from the database schema being changed.
実行されるSQLを準備する時のリトライの最大の数。これは、普通、変更されているデータベーススキーマに起因している準備エラーにあてはまるだけである。
デフォルト コンストラクタ使用時 : 0
public int ProgressOps { get set }
概要
Gets/sets the approximate number of virtual machine instructions between progress events. In order for progress events to actually fire, the event handler must be added to the System.Data.SQLite.SQLiteConnection.Progress event as well.
進歩イベントの間の仮想マシン手順のおおよその数。実際、進歩イベントが点火するように、イベントハンドラはその上、System.Data.SQLite.SQLiteConnection.Progressイベントに追加されなければならない。
デフォルト コンストラクタ使用時 : 0
public bool ReadOnly { get set }
概要
When enabled, the database will be opened for read-only access and writing will be disabled.
可能な時には、データベースはリードオンリーアクセスのために開かれて、ライティングは使用不可にされる。
デフォルト コンストラクタ使用時 : False
public bool RecursiveTriggers { get set }
概要
Enable or disable the recursive trigger capability.
再帰的なトリガー機能を可能にするか、または使用不可にしなさい。
デフォルト コンストラクタ使用時 : False
public bool SetDefaults { get set }
概要
If enabled, apply the default connection settings to opened databases.
もし可能ならば、デフォルト接続設定を、開かれたデータベースに適用しなさい。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public SynchronizationModes SyncMode { get set }
概要
Gets/Sets the synchronization mode (file flushing) of the connection string. Default is "Normal".
接続ストリングの同期モード(ファイル勢いのよい水洗)。デフォルトは「正常である」。
デフォルト コンストラクタ使用時 : Normal
  • Normal(0)
  • Full(1)
  • Off(2)
public bool ToFullPath { get set }
概要
If enabled, attempt to resolve the provided data source file name to a full path before opening.
もし可能ならば、開く前に、完全なパスに、提供されたデータソースファイル名を解決することを試みなさい。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public string Uri { get set }
概要
An alternate to the data source property
データソースプロパティへの交互
デフォルト コンストラクタ使用時 : null
public bool UseUTF16Encoding { get set }
概要
Gets/Sets the encoding for the connection string. The default is "False" which indicates UTF-8 encoding.
接続ストリングのためのエンコーディング。デフォルトは、UTF-8エンコーディングを示し「間違いである」。
デフォルト コンストラクタ使用時 : 【例外をスロー】
public int Version { get set }
概要
Gets/Sets the default version of the SQLite engine to instantiate. Currently the only valid value is 3, indicating version 3 of the sqlite library.
インスタンス化するSQLiteエンジンのデフォルトバージョン。現在、唯一の有効な価値は3であり、sqliteライブラリのバージョン3を示す。
デフォルト コンストラクタ使用時 : 3
public string VfsName { get set }
概要
Gets/sets the VFS name for the connection.
接続のためのVFS名。
デフォルト コンストラクタ使用時 : null
public int WaitTimeout { get set }
概要
EXPERIMENTAL -- The wait timeout to use with System.Data.SQLite.SQLiteConnection.WaitForEnlistmentReset(System.Int32,System.Nullable{System.Boolean}) method. This is only used when waiting for the enlistment to be reset prior to enlisting in a transaction, and then only when the appropriate connection flag is set.
実験的 -- System.Data.SQLite.SQLiteConnection.WaitForEnlistmentReset(System.Int32、System.Nullable{System.Boolean})方法によって使う待機タイムアウト。トランザクションに入隊することに先がけて、兵籍編入がリセットされることを待つ時に、これが使われるだけであることと、そして適切な接続旗がセットされる時だけ。
デフォルト コンストラクタ使用時 : 0
public string ZipVfsVersion { get set }
概要
If non-null, this is the version of ZipVFS to use. This requires the System.Data.SQLite interop assembly -AND- primary managed assembly to be compiled with the INTEROP_INCLUDE_ZIPVFS option; otherwise, this property does nothing.
もし非無効ならば、これは使用にZipVFSのバージョンである。これはSystem.Data.SQLite interopアセンブリ-AND-を必要とする INTEROP_INCLUDE_ZIPVFSオプションで編集される主要管理されたアセンブリ ;さもなければ、このプロパティは何もしない。
デフォルト コンストラクタ使用時 : null
メソッド
▲上へ
public override bool TryGetValue( string keyword, out object value );
概要
Helper function for retrieving values from the connectionstring
取り出すためのヘルパー機能は接続文字列から取得する
パラメーター
keyword
The keyword to retrieve settings for
設定を取り出すキーワード
value
The resulting parameter value
取得できた場合パラメータ値が設定される
戻り値
Returns true if the value was found and returned
値が見つけられた場合、trueを返す