Adding filtering support to OE (#2039)

* Init push

* Fixing filters

* Fixing more filters

* Fixing display strings

* Fixing boolean filter

* Adding comments

* Fixing function name

* Making nullables

* Separating filter parsing logic

* Adding tests

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/ObjectExplorerUtils.cs

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/ObjectExplorerUtils.cs

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Contracts/NodeInfo.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Contracts/NodeInfo.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Nodes/TreeNode.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Adding comments

* Fixing whitespace

* Adding more  comments and changing to IEnumerable

* Fixing code comments

* Fixing tests adding more filters

---------

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
Aasim Khan
2023-05-05 13:22:42 -07:00
committed by GitHub
parent 1b5f774741
commit 46e6b484a3
18 changed files with 2013 additions and 81 deletions

View File

@@ -7137,6 +7137,76 @@ The Query Processor estimates that implementing the following index could improv
<target state="new">Impersonate Any Login</target>
<note></note>
</trans-unit>
<trans-unit id="FilterName">
<source>Name</source>
<target state="new">Name</target>
<note></note>
</trans-unit>
<trans-unit id="FilterNameDescription">
<source>Include or exclude objects based on the name or part of a name.</source>
<target state="new">Include or exclude objects based on the name or part of a name.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterSchema">
<source>Schema</source>
<target state="new">Schema</target>
<note></note>
</trans-unit>
<trans-unit id="FilterSchemaDescription">
<source> Include or exclude objects based on the schema or part of a schema name.</source>
<target state="new"> Include or exclude objects based on the schema or part of a schema name.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterOwner">
<source>Owner</source>
<target state="new">Owner</target>
<note></note>
</trans-unit>
<trans-unit id="FilterOwnerDescription">
<source>Include or exclude objects based on the owner or part of an owner name.</source>
<target state="new">Include or exclude objects based on the owner or part of an owner name.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterDurabilityType">
<source>Durability Type</source>
<target state="new">Durability Type</target>
<note></note>
</trans-unit>
<trans-unit id="FilterDurabilityTypeDescription">
<source>Include or exclude objects based on the durability type.</source>
<target state="new">Include or exclude objects based on the durability type.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterIsMemoryOptimized">
<source>Is Memory Optimized</source>
<target state="new">Is Memory Optimized</target>
<note></note>
</trans-unit>
<trans-unit id="FilterIsMemoryOptimizedDescription">
<source>Include or exclude objects based on whether the object is memory optimized.</source>
<target state="new">Include or exclude objects based on whether the object is memory optimized.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterCreateDate">
<source>Create Date</source>
<target state="new">Create Date</target>
<note></note>
</trans-unit>
<trans-unit id="FilterCreateDateDescription">
<source>Select or type a creation date to include or exclude objects created at any time on that date, or enter a starting and ending date to include or exclude objects created in that inclusive date range.</source>
<target state="new">Select or type a creation date to include or exclude objects created at any time on that date, or enter a starting and ending date to include or exclude objects created in that inclusive date range.</target>
<note></note>
</trans-unit>
<trans-unit id="FilterIsNativelyCompiled">
<source>Is Natively Compiled</source>
<target state="new">Is Natively Compiled</target>
<note></note>
</trans-unit>
<trans-unit id="FilterIsNativelyCompiledDescription">
<source>Include or exclude objects based on whether the object is natively compiled.</source>
<target state="new">Include or exclude objects based on whether the object is natively compiled.</target>
<note></note>
</trans-unit>
<trans-unit id="ServiceProviderNotSet">
<source>SetServiceProvider() was not called to establish the required service provider</source>
<target state="new">SetServiceProvider() was not called to establish the required service provider</target>
@@ -7147,6 +7217,16 @@ The Query Processor estimates that implementing the following index could improv
<target state="new">Service {0} was not found in the service provider</target>
<note></note>
</trans-unit>
<trans-unit id="FilterInPrimaryKey">
<source>In Primary Key</source>
<target state="new">In Primary Key</target>
<note></note>
</trans-unit>
<trans-unit id="FilterInPrimaryKeyDescription">
<source>Include or exclude objects based on whether the column is in a primary key.</source>
<target state="new">Include or exclude objects based on whether the column is in a primary key.</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>