SqlCursorContextResult
- Namespace:
PPDS.Dataverse.Sql.Intellisense - Assembly:
PPDS.Dataverse - Kind: Class
Summary
Result of cursor context analysis for SQL IntelliSense. Describes what kind of completion is appropriate at the cursor position.
Members
Methods
None
SqlCursorContextResult None()
Creates a result indicating no completions are available.
Properties
AliasMap
IReadOnlyDictionary<string, string> AliasMap { get; set; }
Map of alias to entity logical name for all tables in scope. Keys are aliases (or table names if no alias); values are entity logical names.
CurrentEntity
string CurrentEntity { get; set; }
The entity logical name for attribute lookup when PPDS.Dataverse.Sql.Intellisense.SqlCursorContextResult.Kind is PPDS.Dataverse.Sql.Intellisense.SqlCompletionContextKind.Attribute.
Null means attributes from all in-scope entities should be shown.
KeywordSuggestions
IReadOnlyList<string> KeywordSuggestions { get; set; }
Context-filtered keyword suggestions when PPDS.Dataverse.Sql.Intellisense.SqlCursorContextResult.Kind is PPDS.Dataverse.Sql.Intellisense.SqlCompletionContextKind.Keyword.
Kind
SqlCompletionContextKind Kind { get; set; }
The kind of completion appropriate at this cursor position.
Prefix
string Prefix { get; set; }
The text prefix the user has already typed at the cursor position (for filtering).