1 instantiation of DocumentPrimaryKey
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\v2\SQLitePersistentStorage_DocumentIds.cs (1)
46existingId = new DocumentPrimaryKey(projectPrimaryKey, documentFolderId, documentNameId);
6 references to DocumentPrimaryKey
Microsoft.CodeAnalysis.Workspaces (6)
Storage\SQLite\v2\SQLitePersistentStorage_DocumentIds.cs (3)
19private readonly ConcurrentDictionary<DocumentId, DocumentPrimaryKey> _documentIdToPrimaryKeyMap = []; 25private DocumentPrimaryKey? TryGetDocumentPrimaryKey(SqlConnection connection, DocumentKey documentKey, bool allowWrite) 29if (!_documentIdToPrimaryKeyMap.TryGetValue(documentKey.Id, out var existingId))
Storage\SQLite\v2\SQLitePersistentStorage_DocumentSerialization.cs (3)
32private sealed class DocumentAccessor(SQLitePersistentStorage storage) : Accessor<DocumentKey, DocumentPrimaryKey>(Table.Document, 39protected override DocumentPrimaryKey? TryGetDatabaseKey(SqlConnection connection, DocumentKey key, bool allowWrite) 42protected override void BindAccessorSpecificPrimaryKeyParameters(SqlStatement statement, DocumentPrimaryKey primaryKey)