18 references to SqlStatement
Microsoft.CodeAnalysis.Workspaces (18)
Storage\SQLite\v2\Interop\ResettableSqlStatement.cs (7)
10
/// Simple wrapper struct for a <see cref="
SqlStatement
"/> that helps ensure that the statement is always has it's
11
/// bindings cleared (<see cref="
SqlStatement
.ClearBindings"/>) and is <see cref="
SqlStatement
.Reset"/> after it is
24
/// as it will happen to all prepared statemnets when the <see cref="
SqlStatement
"/> is
25
/// <see cref="
SqlStatement
.Close_OnlyForUseBySqlConnection"/>d.
27
internal readonly struct ResettableSqlStatement(
SqlStatement
statement) : IDisposable
29
public readonly
SqlStatement
Statement = statement;
Storage\SQLite\v2\Interop\SqlConnection.cs (5)
29
/// <see cref="
SqlStatement
"/>s can be created through the user of <see cref="GetResettableStatement"/>.
70
private readonly Dictionary<string,
SqlStatement
> _queryToStatement;
85
var queryToStatement = new Dictionary<string,
SqlStatement
>();
153
private SqlConnection(SafeSqliteHandle handle, Dictionary<string,
SqlStatement
> queryToStatement)
190
if (!_queryToStatement.TryGetValue(query, out
var
statement))
Storage\SQLite\v2\Interop\SqlStatement.cs (1)
13
/// Represents a prepared sqlite statement. <see cref="
SqlStatement
"/>s can be
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (2)
97
protected abstract void BindAccessorSpecificPrimaryKeyParameters(
SqlStatement
statement, TDatabaseKey databaseKey);
318
private void BindPrimaryKey(
SqlStatement
statement, TDatabaseKey databaseKey, int dataNameId)
Storage\SQLite\v2\SQLitePersistentStorage_DocumentSerialization.cs (1)
42
protected override void BindAccessorSpecificPrimaryKeyParameters(
SqlStatement
statement, DocumentPrimaryKey primaryKey)
Storage\SQLite\v2\SQLitePersistentStorage_ProjectSerialization.cs (1)
40
protected override void BindAccessorSpecificPrimaryKeyParameters(
SqlStatement
statement, ProjectPrimaryKey primaryKey)
Storage\SQLite\v2\SQLitePersistentStorage_SolutionSerialization.cs (1)
41
protected override void BindAccessorSpecificPrimaryKeyParameters(
SqlStatement
statement, SolutionPrimaryKey primaryKey)