mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
Adjusting ADS to support new changes for CloudServerType for SQLOD (#12824)
* Add CodeQL Analysis workflow (#10195) * Add CodeQL Analysis workflow * Fix path * Adjusting ADS to support new changes for CloudServerType for SQLOD * Using existing constants instead of hardcoded values * Updating STS version Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d1b8c15e11
commit
9fcd85e640
@@ -21,11 +21,6 @@ export const properties: Array<ProviderProperties> = [
|
||||
field: 'isCloud',
|
||||
operator: '!=',
|
||||
value: true
|
||||
},
|
||||
{
|
||||
field: 'engineEditionId',
|
||||
operator: '!=',
|
||||
value: '11'
|
||||
}
|
||||
],
|
||||
databaseProperties: [
|
||||
@@ -82,6 +77,11 @@ export const properties: Array<ProviderProperties> = [
|
||||
field: 'isCloud',
|
||||
operator: '==',
|
||||
value: true
|
||||
},
|
||||
{
|
||||
field: 'engineEditionId',
|
||||
operator: '!=',
|
||||
value: '11'
|
||||
}
|
||||
],
|
||||
databaseProperties: [
|
||||
@@ -126,10 +126,6 @@ export const properties: Array<ProviderProperties> = [
|
||||
{
|
||||
displayName: nls.localize('compatibilityLevel', "Compatibility Level"),
|
||||
value: 'compatibilityLevel'
|
||||
},
|
||||
{
|
||||
displayName: nls.localize('owner', "Owner"),
|
||||
value: 'owner'
|
||||
}
|
||||
],
|
||||
serverProperties: [
|
||||
|
||||
@@ -140,7 +140,7 @@ MenuRegistry.appendMenuItem(MenuId.ObjectExplorerItemContext, {
|
||||
TreeNodeContextKey.NodeType.isEqualTo('Table'),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('View'),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('Schema'),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('User'),
|
||||
ContextKeyExpr.and(TreeNodeContextKey.NodeType.isEqualTo('User'), MssqlNodeContext.EngineEdition.notEqualsTo(DatabaseEngineEdition.SqlOnDemand.toString())),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('UserDefinedTableType'),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('StoredProcedure'),
|
||||
TreeNodeContextKey.NodeType.isEqualTo('AggregateFunction'),
|
||||
|
||||
Reference in New Issue
Block a user