Commit Graph

1282 Commits

Author SHA1 Message Date
Vladimir Chernov
2ae0d99900 SqlAssessment update to 1.1.9 (#1593)
* Sql Assessment version update to 1.1.9

* Unit test fix

* integration test fix
2022-07-19 15:19:39 -07:00
Charles Gagnon
693bb0480a TreeNodeGenerator -> SmoTreeNodes (#1579)
* TreeNodeGenerator -> SmoTreeNodes

* space
2022-07-19 12:46:21 -07:00
Charles Gagnon
779339723f Revert "Sql Assessment version update to 1.1.9 (#1584)" (#1592)
This reverts commit 23531f8421.
2022-07-19 11:24:38 -07:00
Vladimir Chernov
23531f8421 Sql Assessment version update to 1.1.9 (#1584) 2022-07-19 08:56:21 -07:00
Cory Rivera
6ab19746c2 Add separate version numbers for dotnet tool projects. (#1589) 2022-07-18 17:10:11 -07:00
Charles Gagnon
15689b3c7c Add 2019 and 2022 to SqlServerType enum (#1583)
* Add 2019 and 2022 to SqlServerType enum

* Add note

* Add tests

* Fix template generation
2022-07-18 16:35:17 -07:00
Alan Ren
591d308205 new dacfx version (#1587)
* pre-load database model

* revert pre-loading
2022-07-18 16:34:25 -07:00
Cory Rivera
8f9e3fe999 Add build task to create dotnet tools for SQL Tools and Kusto services. (#1582) 2022-07-18 12:49:21 -07:00
Alex Ma
1bcb0c211e [Loc] small update to xlfs (#1580) 2022-07-14 17:14:00 -07:00
Alex Hsu
7ba0d9064a LEGO: Merge pull request 1577
LEGO: Merge pull request 1577
2022-07-14 08:34:31 -07:00
Alex Ma
6c7738186c [Loc] update to sr resx (#1576) 2022-07-13 16:37:53 -07:00
Alex Hsu
89da7a8aa5 LEGO: Merge pull request 1575
LEGO: Merge pull request 1575
2022-07-13 08:36:08 -07:00
Cory Rivera
c3b5831c89 Add dotnet tool build steps to SQL Tools & Kusto csproj files. (#1573) 2022-07-12 16:18:11 -07:00
Alex Ma
ae90a06026 [Loc] Xlf update 7-11-22 (#1572) 2022-07-11 18:27:21 -07:00
Aasim Khan
e68124b4d5 Adding more top operations columns and fixing some column values (#1571)
* Adding more rules for prop

* adding top operations to ep

* Reverting changes made to display cost

* Fixing comments

* Removing whitespace

* Fixing data size property

* Adding const keys, fixing to table data, adding more info

* Removing undeclared prop
2022-07-11 14:05:20 -07:00
Alex Hsu
a6e9f1a6cf LEGO: Merge pull request 1570
LEGO: Merge pull request 1570
2022-07-09 08:36:10 -07:00
Alex Ma
7534d7f50b [Loc] update to xlfs and resx 7-8-2022 (#1569) 2022-07-08 17:06:46 -07:00
Alex Hsu
2d90b472b2 LEGO: Merge pull request 1568
LEGO: Merge pull request 1568
2022-07-08 08:35:27 -07:00
Alex Ma
e28ee805e4 [Loc] update to xlfs and resx for 7-7-2022 (#1567) 2022-07-07 17:25:27 -07:00
Sai Avishkar Sreerama
5663ddba68 OptionsMapTable preparing from DacFx description,value,displayname at… (#1550)
* OptionsMapTable preparing from DacFx description,value,displayname attributes

* Review Comments addressed for options map table changes

* OptionsMapTable final changes

* Code review comments updated code changes

* Test fix: Adding missing change while splitting the PR

* DacFx vBump

* Reverted to displayName and code updates

* final:prop name changed, references updated, tests fixed, comments addressed

* Code review comments updated for name,exception etc

* updates method names

* property name changes to BooleanOptionsDictionary and comment updates

* Removed the unused properties, null cases handeled, hardcoded values are replaced
2022-07-07 16:56:16 -05:00
Alex Hsu
6558f2036d LEGO: Merge pull request 1566
LEGO: Merge pull request 1566
2022-07-07 08:35:44 -07:00
Charles Gagnon
ac9f88266c BatchParser target netstandard2.0 and remove Hosting dependency (#1564)
* Remove Hosting dependency from BatchParser, wip for logging replacement

* netstandard2.0 and fixes

* comment + cleanup

* comment

* fix build

* Update newtonsoft

* localize errors
2022-07-06 15:26:06 -07:00
Aasim Khan
e64e31e487 Adding top operations to execution plan (#1563)
* Adding more rules for prop

* adding top operations to ep

* Reverting changes made to display cost

* Fixing comments

* Removing whitespace

* Fixing data size property
2022-07-05 20:18:24 -07:00
Cory Rivera
671310880b Clean up notebook export code (#1565)
* Add null checks when converting notebooks to SQL, and SQL to notebooks.

* Remove unnecessary newlines and spaces from multi-line comments.

* Use the current environment's newline characters when converting cell text to a SQL query.

* Add additional unit tests for notebook conversion.
2022-07-01 15:28:05 -07:00
Alan Ren
2c783a4011 use file path instead of content in the request (#1562)
* use file path instead of content in the request

* remove unused using statement
2022-06-30 15:19:56 -07:00
Alan Ren
0b3c86cde8 add parse t-sql script handler (#1561)
* add parse t-sql script handler

* handle error
2022-06-30 11:05:38 -07:00
Alex Ma
deae354f31 Fix for rowId not decrementing if reverting an create row (#1560)
* Decrement NextRowId if reverting addition of a row that is not committed yet.

* added test and message

* added fixed and extensive tests

* added assert messages
2022-06-27 14:47:46 -07:00
Sai Avishkar Sreerama
0b2eb44769 These changes needs to remove from main and have to merge with other changes. (#1552) 2022-06-21 12:34:44 -07:00
ssreerama
1de6c6070a Merge branch 'main' of https://github.com/microsoft/sqltoolsservice 2022-06-21 12:06:52 -07:00
ssreerama
8d32704823 Getting include objects types names from the DacFx to avoid the duplication and hardcoded values in the ADS 2022-06-21 12:06:31 -07:00
Charles Gagnon
c64c32967f Add event TID to SqlClient events (#1549) 2022-06-21 11:09:52 -07:00
Charles Gagnon
dd11be3d38 Consolidate to net6.0 (#1547)
* Add SqlClient event listener

* comments

* ensure not disposed early

* initial

* net6.0

* undo
2022-06-21 08:53:23 -07:00
Alex Ma
a8bf275e04 [Loc] update to sr xlf for 6/20/2022 (#1548) 2022-06-20 16:51:04 -07:00
csigs
fb5ea303bc LEGO: Merge pull request 1546
LEGO: Merge pull request 1546
2022-06-20 08:35:43 -07:00
Charles Gagnon
d9e1678694 Add SqlClient event listener (#1544)
* Add SqlClient event listener

* comments

* ensure not disposed early
2022-06-17 20:06:09 -07:00
Alan Ren
afb2245be1 localize the rule descriptions (#1543) 2022-06-17 13:54:06 -07:00
Alan Ren
17b6073c87 include additional data for error object (#1539)
* include additional data for error

* fix tests
2022-06-10 20:40:22 -07:00
Charles Gagnon
b182e9fe53 Bump SMO to 161.47021.0 (#1538) 2022-06-10 13:02:49 -07:00
Charles Gagnon
294873613a Add Operations to GetAzureFunctions request (#1527)
* Add Operations to GetAzureFunctions request

* add comment

* comments
2022-06-06 12:59:59 -07:00
Benjamin Russell
97a106c575 Removing a lot of redundant async/await wrappers (#1486)
* Removing a lot of redundant async/await wrappers

* Removing kusto changes
2022-06-05 08:26:21 -07:00
Charles Gagnon
36d92a1cc4 Fix backup closing parent connection (#1530)
* Fix backup closing parent connection

* always dispose

* update comment
2022-06-03 17:01:42 -07:00
Aasim Khan
3ff5c6c95c Adding more rules for prop (#1529) 2022-06-03 11:50:09 -07:00
Alan Ren
674ac5243a disable table renaming for sql proj (#1526) 2022-06-01 15:34:33 -07:00
Hai Cao
33636efa87 [Table Designer] Fix a few computed col issues (#1518) 2022-06-01 15:00:01 -07:00
Alex Ma
9a341c6bd9 [Loc] update to fr, ja, ko, zh-hans, and zh-hant xlfs (#1525) 2022-06-01 14:23:56 -07:00
Alan Ren
63bef2b904 enable table designer for sqlproj (#1511)
* enable table designer for sqlproj

* return issues and new table info on initialization

* vbump dacfx

* Revert "vbump dacfx"

This reverts commit f59768b41f67866bd7620e06b141e8bfdb1523aa.
2022-06-01 14:17:04 -07:00
Aasim Khan
fed1cef7bf Adding property type and rules to compare properties in Execution Plans (#1522)
* Adding plan index in file info

* Adding basic framework for prop comparison

* Remoing none and and fixing some better values

* Fixing file formatting

* Fixing some formatting

* Fixing casing

* Fixing compilation

* fixing compilation error
2022-05-31 17:15:43 -07:00
Raymond Truong
0c37dc50f9 [SQL Migration] Update assessment NuGet version + mark GAed VM SKUs as non-preview (#1510)
* Update assessment NuGet version and metadata

* Consider Eb VM SKUs without preview flag as they are now GAed

* Update assessment NuGet to 1.0.20220527.33
2022-05-31 14:54:29 -07:00
Charles Gagnon
076ed9644b Add route to GetAzureFunctions request + cleanup (#1521)
* Add route to GetAzureFunctions request + cleanup

* update comments

* comments

* Add comment
2022-05-31 10:22:20 -07:00
Alex Ma
1ed6c132a4 [Loc] update to xlfs 5-27-2022 (#1520) 2022-05-27 10:11:49 -07:00