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. 27internal readonly struct ResettableSqlStatement(SqlStatement statement) : IDisposable 29public 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"/>. 70private readonly Dictionary<string, SqlStatement> _queryToStatement; 85var queryToStatement = new Dictionary<string, SqlStatement>(); 153private SqlConnection(SafeSqliteHandle handle, Dictionary<string, SqlStatement> queryToStatement) 190if (!_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)
97protected abstract void BindAccessorSpecificPrimaryKeyParameters(SqlStatement statement, TDatabaseKey databaseKey); 318private void BindPrimaryKey(SqlStatement statement, TDatabaseKey databaseKey, int dataNameId)
Storage\SQLite\v2\SQLitePersistentStorage_DocumentSerialization.cs (1)
42protected override void BindAccessorSpecificPrimaryKeyParameters(SqlStatement statement, DocumentPrimaryKey primaryKey)
Storage\SQLite\v2\SQLitePersistentStorage_ProjectSerialization.cs (1)
40protected override void BindAccessorSpecificPrimaryKeyParameters(SqlStatement statement, ProjectPrimaryKey primaryKey)
Storage\SQLite\v2\SQLitePersistentStorage_SolutionSerialization.cs (1)
41protected override void BindAccessorSpecificPrimaryKeyParameters(SqlStatement statement, SolutionPrimaryKey primaryKey)