-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSimple.Sqlite.Cipher.xml
More file actions
556 lines (556 loc) · 26 KB
/
Simple.Sqlite.Cipher.xml
File metadata and controls
556 lines (556 loc) · 26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
<?xml version="1.0"?>
<doc>
<assembly>
<name>Simple.Sqlite.Cipher</name>
</assembly>
<members>
<member name="T:Simple.Sqlite.ConnectionFactory">
<summary>
Creates ISqliteConnection connections
</summary>
</member>
<member name="P:Simple.Sqlite.ConnectionFactory.ConnectionString">
<summary>
Current connection string
</summary>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.#ctor(Microsoft.Data.Sqlite.SqliteConnectionStringBuilder)">
<summary>
Factory constructor
</summary>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.#ctor(System.String)">
<summary>
Factory constructor
</summary>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.GetConnection">
<summary>
Opens a connection to the database
</summary>
<returns>An open connection of the database</returns>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.FromFile(System.String,System.String,System.Boolean)">
<summary>
Creates a Factory to a sqlite file
</summary>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.CreateInMemory">
<summary>
Opens a non-Shared in memory connection
</summary>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.CreateInMemoryShared(System.String)">
<summary>
Opens a non-Shared in memory connection
</summary>
<param name="sharedName">Data source shared name</param>
</member>
<member name="M:Simple.Sqlite.ConnectionFactory.ClearAllPools">
<summary>
Empties the connection pool.
Calls Microsoft.Data.Sqlite.SqliteConnection.ClearAllPools()
</summary>
</member>
<member name="T:Simple.Sqlite.SqliteType">
<summary>
Represents a Sqlite internal type
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.INTEGER">
<summary>
Numeric without decimal places
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.TEXT">
<summary>
Sqlite text
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.BLOB">
<summary>
Binary data or anythng (sqlite is dynamic typed)
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.REAL">
<summary>
Numeric with decimal places
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.NUMERIC">
<summary>
Numeric value. Includes Bool, Date and Datetime
</summary>
</member>
<member name="F:Simple.Sqlite.SqliteType.ANY">
<summary>
Accepts any kind of data
</summary>
</member>
<member name="T:Simple.Sqlite.OnConflict">
<summary>
OnConflict clause options
</summary>
</member>
<member name="F:Simple.Sqlite.OnConflict.RollBack">
<summary>
When an applicable constraint violation occurs, the ROLLBACK resolution algorithm aborts the current SQL statement
with an SQLITE_CONSTRAINT error and rolls back the current transaction.
If no transaction is active (other than the implied transaction that is created on every command) then the ROLLBACK
resolution algorithm works the same as the ABORT algorithm
</summary>
</member>
<member name="F:Simple.Sqlite.OnConflict.Abort">
<summary>
When an applicable constraint violation occurs,
the ABORT resolution algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error and backs out any
changes made by the current SQL statement;
but changes caused by prior SQL statements within the same transaction are preserved and the transaction remains active.
This is the default behavior and the behavior specified by the SQL standard
</summary>
</member>
<member name="F:Simple.Sqlite.OnConflict.Fail">
<summary>
When an applicable constraint violation occurs, the FAIL resolution algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error.
But the FAIL resolution does not back out prior changes of the SQL statement that failed nor does it end the transaction.
For example, if an UPDATE statement encountered a constraint violation on the 100th row that it attempts to update,
then the first 99 row changes are preserved but changes to rows 100 and beyond never occur.
The FAIL behavior only works for uniqueness, NOT NULL, and CHECK constraints. A foreign key constraint violation causes an ABORT
</summary>
</member>
<member name="F:Simple.Sqlite.OnConflict.Ignore">
<summary>
When an applicable constraint violation occurs,
the IGNORE resolution algorithm skips the one row that contains the constraint violation and continues processing
subsequent rows of the SQL statement as if nothing went wrong.
Other rows before and after the row that contained the constraint violation are inserted or updated normally.
No error is returned for uniqueness, NOT NULL, and UNIQUE constraint errors when the IGNORE conflict resolution algorithm is used.
However, the IGNORE conflict resolution algorithm works like ABORT for foreign key constraint errors
</summary>
</member>
<member name="F:Simple.Sqlite.OnConflict.Replace">
<summary>
When a UNIQUE or PRIMARY KEY constraint violation occurs,
the REPLACE algorithm deletes pre-existing rows that are causing the constraint violation prior to inserting or
updating the current row and the command continues executing normally.
If a NOT NULL constraint violation occurs, the REPLACE conflict resolution replaces the NULL value with the default value for that column,
or if the column has no default value, then the ABORT algorithm is used. If a CHECK constraint or foreign key constraint violation occurs,
the REPLACE conflict resolution algorithm works like ABORT
</summary>
</member>
<member name="T:Simple.Sqlite.CsvIngestionExtensions">
<summary>
Extension for Ingesting CSVs
</summary>
</member>
<member name="M:Simple.Sqlite.CsvIngestionExtensions.LoadFromCsvFile``1(Simple.Sqlite.ISqliteConnection,System.String,System.Func{System.String[],``0},System.Int32,System.Text.Encoding,System.Char,System.Char)">
<summary>
Load a CSV file into a database.
For custom CSV ingestion try DatabaseWrapper.CsvParser functions and insert with BulkInsert
</summary>
<typeparam name="T">Table class</typeparam>
<param name="connection">Connection to be used</param>
<param name="csvFile">FilePath of CSV file to be ingested</param>
<param name="mapping">T mapping</param>
<param name="bufferSize">Buffer size to be used on ingestion</param>
<param name="encoding">CSV Enconding</param>
<param name="delimiter">CSV delimiter char</param>
<param name="quote">CSV quote char</param>
</member>
<member name="M:Simple.Sqlite.CsvIngestionExtensions.LoadFromCsvZippedFile``1(Simple.Sqlite.ISqliteConnection,System.String,System.Func{System.String,System.Boolean},System.Func{System.String[],``0},System.Int32,System.Text.Encoding,System.Char,System.Char)">
<summary>
Load a Zipped CSV file into a database.
For custom CSV ingestion try DatabaseWrapper.CsvParser functions and insert with BulkInsert
</summary>
</member>
<member name="M:Simple.Sqlite.CsvIngestionExtensions.LoadFromCsvStream``1(Simple.Sqlite.ISqliteConnection,System.IO.Stream,System.Text.Encoding,System.Func{System.String[],``0},System.Int32,System.Char,System.Char)">
<summary>
Load a CSV file stream into a database.
For custom CSV ingestion try DatabaseWrapper.CsvParser functions and insert with BulkInsert
</summary>
</member>
<member name="M:Simple.Sqlite.CsvIngestionExtensions.LoadFromCsvStream``1(Simple.Sqlite.ISqliteConnection,System.IO.StreamReader,System.Func{System.String[],``0},System.Int32,System.Char,System.Char)">
<summary>
Load a CSV stream into a database.
For custom CSV ingestion try DatabaseWrapper.CsvParser functions and insert with BulkInsert
</summary>
</member>
<member name="T:Simple.Sqlite.ExecuteExtension">
<summary>
Extension for "Execute" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.ExecuteExtension.Execute(Simple.Sqlite.ISqliteConnection,System.String,System.Object)">
<summary>
Executes a query
</summary>
<param name="connection">The connection to be used</param>
<param name="query">SQL to be eecuted</param>
<param name="parameters">object with parameters</param>
<returns>Returns affected rows. -1 for selects</returns>
</member>
<member name="M:Simple.Sqlite.ExecuteExtension.Execute(Simple.Sqlite.ISqliteTransaction,System.String,System.Object)">
<summary>
Executes a query in a transaction
</summary>
<param name="transaction">The transaction to be used</param>
<param name="query">SQL to be eecuted</param>
<param name="parameters">object with parameters</param>
<returns>Returns affected rows. -1 for selects</returns>
</member>
<member name="M:Simple.Sqlite.ExecuteExtension.ExecuteScalar``1(Simple.Sqlite.ISqliteConnection,System.String,System.Object)">
<summary>
Executes a ScalarQuery
</summary>
<typeparam name="T">Value type</typeparam>
<param name="connection">The connection to be used</param>
<param name="query">Query yo be executed</param>
<param name="parameters">object with parameters</param>
<returns>Scalar value</returns>
</member>
<member name="M:Simple.Sqlite.ExecuteExtension.ExecuteScalar``1(Simple.Sqlite.ISqliteTransaction,System.String,System.Object)">
<summary>
Executes a ScalarQuery in a transaction
</summary>
<typeparam name="T">Value type</typeparam>
<param name="transaction">The transaction to be used</param>
<param name="query">Query yo be executed</param>
<param name="parameters">object with parameters</param>
<returns>Scalar value</returns>
</member>
<member name="T:Simple.Sqlite.GetDataExtension">
<summary>
Extension for "GetDataExtension" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.Get``1(Simple.Sqlite.ISqliteConnection,System.Object)">
<summary>
Select a value from a table `T` using it's primary key or `__rowid__`
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.Get``1(Simple.Sqlite.ISqliteConnection,System.String,System.Object)">
<summary>
Select a value from a table `T` using specified column and value
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.Get``1(Simple.Sqlite.ISqliteConnection,System.String,System.String,System.Object)">
<summary>
Select a value from a table using specified column and value
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.GetAll``1(Simple.Sqlite.ISqliteConnection,System.Boolean)">
<summary>
Select all values from a table `T`
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.GetAll``1(Simple.Sqlite.ISqliteConnection,System.String,System.Boolean)">
<summary>
Select all values from a table
</summary>
</member>
<member name="M:Simple.Sqlite.GetDataExtension.GetWhere``1(Simple.Sqlite.ISqliteConnection,System.String,System.Object)">
<summary>
Select filtered values from the table T WHERE filterColumn = filterValue
</summary>
</member>
<member name="T:Simple.Sqlite.InsertExtension">
<summary>
Extension for "InsertExtension" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.InsertExtension.Insert``1(Simple.Sqlite.ISqliteConnection,``0,Simple.Sqlite.OnConflict,System.String)">
<summary>
Inserts a value into a table
</summary>
<typeparam name="T">Value type</typeparam>
<param name="connection">The connection to be used</param>
<param name="item">Item to be inserted</param>
<param name="resolution">Conflict resolution policy</param>
<param name="tableName">The name of the table, NULL to use `T` type name as the name of the table</param>
<returns>Returns the integer Primary Key or __ROWID__ of the inserted row</returns>
</member>
<member name="M:Simple.Sqlite.InsertExtension.Insert``1(Simple.Sqlite.ISqliteTransaction,``0,Simple.Sqlite.OnConflict,System.String)">
<summary>
Inserts a value into a table with a transaction
</summary>
<typeparam name="T">Value type</typeparam>
<param name="transaction">The transaction to be used</param>
<param name="item">Item to be inserted</param>
<param name="resolution">Conflict resolution policy</param>
<param name="tableName">The name of the table, NULL to use `T` type name as the name of the table</param>
<returns>Returns the integer Primary Key or __ROWID__ of the inserted row</returns>
</member>
<member name="M:Simple.Sqlite.InsertExtension.BulkInsert``1(Simple.Sqlite.ISqliteConnection,System.Collections.Generic.IEnumerable{``0},Simple.Sqlite.OnConflict,System.String)">
<summary>
Inserts multiple values into a table efficiently using a transaction
</summary>
<typeparam name="T">Value type</typeparam>
<param name="connection">The connection to be used</param>
<param name="items">Items to be inserted</param>
<param name="resolution">Conflict resolution policy</param>
<param name="tableName">The name of the table, NULL to use `T` type name as the name of the table</param>
<returns>Returns the integer Primary Key or __ROWID__ of the inserted rows</returns>
</member>
<member name="T:Simple.Sqlite.ISqliteConnection">
<summary>
SqliteConnection interface wrapper
</summary>
</member>
<member name="P:Simple.Sqlite.ISqliteConnection.DatabasFilePath">
<summary>
Database's file path
</summary>
</member>
<member name="M:Simple.Sqlite.ISqliteConnection.GetUnderlyingConnection">
<summary>
Gets the underlying SqliteConnection
</summary>
</member>
<member name="T:Simple.Sqlite.MigrationExtension">
<summary>
Extension for "MigrationExtension" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.MigrationExtension.CreateTables(Simple.Sqlite.ISqliteConnection)">
<summary>
Initialize a migration
</summary>
<param name="connection">The connection to be used</param>
<returns>A database migration object</returns>
</member>
<member name="T:Simple.Sqlite.QueryExtension">
<summary>
Extension for "QueryExtension" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.QueryExtension.Query``1(Simple.Sqlite.ISqliteConnection,System.String,System.Object,System.Boolean)">
<summary>
Executes a query and map the result into a model
</summary>
<typeparam name="T">Returning model type</typeparam>
<param name="connection">The connection to be used</param>
<param name="query">Query yo be executed</param>
<param name="parameters">Query parameters</param>
<param name="buffered">Defines if the results should be buffered in memory</param>
<returns>A collection of values mapped from the result rows</returns>
</member>
<member name="M:Simple.Sqlite.QueryExtension.Query``1(Simple.Sqlite.ISqliteTransaction,System.String,System.Object,System.Boolean)">
<summary>
Executes a query and map the result into a model within a transaction
</summary>
<typeparam name="T">Returning model type</typeparam>
<param name="transaction">The transaction to be used</param>
<param name="query">Query yo be executed</param>
<param name="parameters">Query parameters</param>
<param name="buffered">Defines if the results should be buffered in memory</param>
<returns>A collection of values mapped from the result rows</returns>
</member>
<member name="M:Simple.Sqlite.QueryExtension.Query``1(Simple.Sqlite.ISqliteConnection,System.Object,System.Boolean)">
<summary>
Builds and Executes a query using the parameters for the where clause then map the result into a model
</summary>
<typeparam name="T">Returning model type</typeparam>
<param name="connection">The connection to be used</param>
<param name="parameters">Columns to be filtered. A Where clause will be builded with the paramters property's name.</param>
<param name="buffered">Defines if the results should be buffered in memory</param>
<returns>A collection of values mapped from the result rows</returns>
</member>
<member name="M:Simple.Sqlite.QueryExtension.Query``1(Simple.Sqlite.ISqliteTransaction,System.Object,System.Boolean)">
<summary>
Builds and Executes a query using the parameters for the where clause then map the result into a model
</summary>
<typeparam name="T">Returning model type</typeparam>
<param name="transaction">The transaction to be used</param>
<param name="parameters">Columns to be filtered. A Where clause will be builded with the paramters property's name.</param>
<param name="buffered">Defines if the results should be buffered in memory</param>
<returns>A collection of values mapped from the result rows</returns>
</member>
<member name="T:Simple.Sqlite.TableSchemaExtension">
<summary>
Extension for "TableSchemaExtension" stuff
</summary>
</member>
<member name="M:Simple.Sqlite.TableSchemaExtension.GetTableSchema(Simple.Sqlite.ISqliteConnection,System.String)">
<summary>
Returns a DataTable containing the table schema
</summary>
</member>
<member name="M:Simple.Sqlite.TableSchemaExtension.GetTableColumnNames(Simple.Sqlite.ISqliteConnection,System.String)">
<summary>
Gets columns names for a table
</summary>
</member>
<member name="M:Simple.Sqlite.TableSchemaExtension.GetAllTables(Simple.Sqlite.ISqliteConnection,System.Boolean)">
<summary>
Get all tables
</summary>
</member>
<member name="M:Simple.Sqlite.TableSchemaExtension.GetAllIndexes(Simple.Sqlite.ISqliteConnection,System.Boolean)">
<summary>
Get all indexes
</summary>
</member>
<member name="T:Simple.Sqlite.Column">
<summary>
Class to map a column schema
</summary>
</member>
<member name="P:Simple.Sqlite.Column.ColumnName">
<summary>
Column name
</summary>
</member>
<member name="P:Simple.Sqlite.Column.SqliteType">
<summary>
Type on SQLite database
</summary>
</member>
<member name="P:Simple.Sqlite.Column.NativeType">
<summary>
Native object type
</summary>
</member>
<member name="P:Simple.Sqlite.Column.IsPK">
<summary>
Is PrimaryKey ?
</summary>
</member>
<member name="P:Simple.Sqlite.Column.IsAI">
<summary>
Is Auto-Increment ?
</summary>
</member>
<member name="P:Simple.Sqlite.Column.IsUnique">
<summary>
Is Unique indexed ?
</summary>
</member>
<member name="P:Simple.Sqlite.Column.AllowNulls">
<summary>
Allow null values ?
</summary>
</member>
<member name="P:Simple.Sqlite.Column.DefaultValue">
<summary>
Default value on NULL
</summary>
</member>
<member name="P:Simple.Sqlite.Column.Indexes">
<summary>
Indexes including this column
</summary>
</member>
<member name="P:Simple.Sqlite.Column.Attributes">
<summary>
Attributes of this type
</summary>
</member>
<member name="M:Simple.Sqlite.Column.FromInfo(Simple.DatabaseWrapper.TypeReader.TypeInfo,Simple.DatabaseWrapper.TypeReader.TypeItemInfo)">
<summary>
Create a column schema from TypeInfoItem
</summary>
</member>
<member name="M:Simple.Sqlite.Column.mapType(Simple.DatabaseWrapper.TypeReader.TypeItemInfo)">
<summary>
Creates a column schema from a Type
</summary>
</member>
<member name="M:Simple.Sqlite.Column.ExportColumnDefinitionAsStatement">
<summary>
Creates a CREATE TABLE column statment from current schema
</summary>
</member>
<member name="M:Simple.Sqlite.Column.ExportAddColumnAsStatement">
<summary>
Creates a ADD COLUMN from current schema.
This MAY change de [DefaultValue] when [NotNull] to Comply with Sqlite
</summary>
<returns></returns>
</member>
<member name="M:Simple.Sqlite.TableMapper.#ctor(Simple.Sqlite.ISqliteConnection)">
<summary>
Creates a new instance
</summary>
</member>
<member name="M:Simple.Sqlite.TableMapper.Add``1">
<summary>
Adds a table
</summary>
</member>
<member name="M:Simple.Sqlite.TableMapper.ConfigureTable(System.Action{Simple.DatabaseWrapper.Interfaces.ITable})">
<summary>
Allows last added table to be editted
</summary>
</member>
<member name="M:Simple.Sqlite.TableMapper.EditTable(System.Action{Simple.DatabaseWrapper.Interfaces.ITable})">
<summary>
Allows last added table to be editted
</summary>
</member>
<member name="M:Simple.Sqlite.TableMapper.Commit">
<summary>
Commit all new tables to the db (old schemas are not updated (yet)
</summary>
</member>
<member name="T:Simple.Sqlite.TableMapper.TableCommitResult">
<summary>
Class for the table commit results
</summary>
</member>
<member name="P:Simple.Sqlite.TableMapper.TableCommitResult.TableName">
<summary>
Name of the table added/altered
</summary>
</member>
<member name="P:Simple.Sqlite.TableMapper.TableCommitResult.WasTableCreated">
<summary>
Gets if the table was altered
</summary>
</member>
<member name="P:Simple.Sqlite.TableMapper.TableCommitResult.ColumnsAdded">
<summary>
Gets the new added columns, if any
</summary>
</member>
<member name="T:Simple.Sqlite.Table">
<summary>
Represents a table schema
</summary>
</member>
<member name="P:Simple.Sqlite.Table.TableName">
<summary>
Table's name
</summary>
</member>
<member name="P:Simple.Sqlite.Table.Columns">
<summary>
Table's columns
</summary>
</member>
<member name="P:Simple.Sqlite.Table.AsStrict">
<summary>
Creates table with 'STRICT' keyword
</summary>
</member>
<member name="P:Simple.Sqlite.Table.Item(System.Int32)">
<summary>
Gets the N-th column
</summary>
</member>
<member name="P:Simple.Sqlite.Table.Item(System.String)">
<summary>
Gets the column by name
</summary>
</member>
<member name="M:Simple.Sqlite.Table.ExportCreateTable">
<summary>
Creates a CREATE TABLE statment from current schema
</summary>
</member>
<member name="M:Simple.Sqlite.Table.FromType(Simple.DatabaseWrapper.TypeReader.TypeInfo,System.Type)">
<summary>
Creates a table schema from a Type
</summary>
</member>
</members>
</doc>