Commit Graph

47 Commits

Author SHA1 Message Date
Leila Lali
a37093a773 Enabling DacFx telemetry (#1993)
* Enabling DacFx telemetry
2023-04-11 14:22:05 -07:00
Chris LaFreniere
cccdbf0bef Address CA1829 (Avoiding Count LINQ method calls when equivalent + more efficient properties exist) (#1961)
* Address CA1829 (Avoid Count LINQ Method Calls)

* Remove other change

* CA1829 removal

* CA1829 (remove whitespace)
2023-03-23 21:06:49 -07:00
Cheena Malhotra
187b6ecc14 Introduce AAD interactive auth mode (#1860) 2023-03-02 09:39:54 -08:00
Karl Burtram
f288bee294 Make nullable warnings a per file opt-in (#1842)
* Make nullable warnings a per file opt-in

* Remove unneeded compiler directives

* Remove compiler directive for User Data
2023-02-03 18:10:07 -08:00
Hai Cao
f86ebae9b8 Re-enable parallel message processing (#1741)
* add flag to handler

* cleanup

* concurrency control

* add flag for handler setters

* update service flags

* fix event handlers

* more handlers

* make sure behavior is unchanged if flag is off

* cleanup

* add test case for parallel processing

* comments

* stop dispatcher in test

* add log for request lifespan

* cleanup and add comments

* correctly release semaphore

* remove deleted file from merge

* use await for semaphore release

* move handler invocation to await and adjust test

* cleanup exception handling and wrapper

* space

* loose assertion condition to make test stable
2022-12-11 00:05:33 -08:00
Hai Cao
04c64223e2 [Table Designer] Only show index hash options when table is memory-optimized (#1714) 2022-09-28 10:26:59 -07:00
Hai Cao
11fef3a5db [Table Designer] Fix columnstore wording 2022-09-23 16:44:34 -07:00
Alan Ren
5274d3a604 allow reorder of pk columns (#1703) 2022-09-19 14:47:22 -07:00
Alan Ren
6e007e6e68 preload database when database node is expanded (#1690) 2022-09-15 09:56:23 -07:00
Hai Cao
8f26a20950 [Table Designer] support hash index and column store index (#1672) 2022-09-06 13:32:43 -07:00
Alan Ren
7f675b884f require confirmation when risks present (#1668) 2022-09-02 12:50:30 -07:00
Hai Cao
a9fe77589d [Table Designer] Support filter predicate and included columns for index (#1619) 2022-08-05 15:04:44 -07:00
Hai Cao
fc2d1300fd A few table designer fixes (#1581)
* enable index rename

* use SystemName to fix constraint name validator
2022-07-21 16:25:35 -07:00
Alan Ren
591d308205 new dacfx version (#1587)
* pre-load database model

* revert pre-loading
2022-07-18 16:34:25 -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
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
Hai Cao
bc1b60fa87 [Table Designer] Add apis to support computed column (#1495) 2022-05-23 15:41:07 -07:00
Hai Cao
262fd00afd fix memory optimized option inconsistent state (#1503)
* disable mem optimized instead of removing options

* bump DacFx
2022-05-23 13:27:18 -07:00
Hai Cao
24910c5b5c [Table Designer] api change for insert and move col (#1477)
* make api change for insert and move col
* bump DacFx
2022-05-06 15:00:34 -07:00
Alan Ren
0882bf07bd bring in table designer fixes (#1463) 2022-04-12 12:58:03 -07:00
Hai Cao
52f71e8b79 [Table Designer] fix check for isPkDescEnabled (#1460) 2022-04-11 10:10:16 -07:00
Alan Ren
574117d5d5 fix a couple table designer issues (#1457) 2022-04-08 17:52:41 -07:00
Aditya Bist
b1f494d04d Added uniqueness check for constraints (#1454)
* added rule for checking constraints

* added constraint validation rule

* merge PR's

* remove unused code

* update comment

* remove unused import
2022-04-08 12:52:24 -07:00
Hai Cao
71830ee5f9 A few table designer improvements (#1456)
* add AdvancedType related contract & lib call

* use type list from col

* add description support to all view models

* remove desc for edge constraint

* bump DacFx to 160.6093.0-preview

* nit
2022-04-08 11:42:55 -07:00
Aditya Bist
54dc04c533 add table type to process and publish results (#1448)
* add table type to process and publish results

* make generic property bag

* review comments

* remove unused code

* edit comment
2022-03-31 21:01:37 -07:00
Hai Cao
3b2ffe8aea change table designer report type to markdown (#1433) 2022-03-17 18:39:06 -07:00
Alan Ren
92cb4beca0 support issue severity (#1430) 2022-03-17 10:16:42 -07:00
Alan Ren
7a326b2487 new table designer features (#1420)
* support graph table types

* more fixes

* refresh view upon edit

* support temporal tables

* temporal and memory table

* primary key and default constraint

* bug fixes

* dispose table designer

* vbump dacfx

* update string
2022-03-08 18:52:51 -08:00
Aditya Bist
3e5bf00cc5 Change preview report type (#1418)
* change report type

* PR comments

* fix doc for report

* rename format to mimetype

* nitpicks

* edit comments

* default to plain text
2022-03-08 14:07:30 -08:00
Alan Ren
2542df3502 add validation for table designer (#1411)
* add validation for table designer

* comments
2022-02-17 11:12:27 -08:00
Alan Ren
c2d826548c always allow a column to be added to PK (#1410) 2022-02-17 10:04:25 -08:00
Alan Ren
6b1b2720f2 enable AAD auth for Table Designer (#1396) 2022-02-08 12:56:43 -08:00
Alan Ren
308e3019f7 refresh the table information after saving (#1387)
* refresh the table information after saving

* add comment
2022-02-03 18:06:34 -08:00
Alan Ren
3c93d57730 table designer - support second level entities (#1381)
* support secondary entities

* new table info for existing table scenario

* delete column confirmation

* vbump Dacfx
2022-02-02 13:40:45 -08:00
Alan Ren
1cdb2b94ac table designer - support indexes and write operations (#1363)
* support indexes

* column properties
2022-01-18 17:15:22 -08:00
Alan Ren
0fcc6dc5cf rename the table designer requests (#1356)
* rename the table designer requests

* rename request
2022-01-07 10:57:16 -08:00
Alan Ren
5ca4054582 support save/script/report operations for table designer (#1348)
* save changes

* rename

* new version of dacfx
2021-12-21 15:31:44 -08:00
Hai Cao
adb82f2dd0 [Table designer] add a few column property edit handlers (#1339) 2021-12-14 15:56:06 -08:00
Alan Ren
0599de2de7 foreign keys and constraints (#1318)
* foreign keys and constraints

* revert sdk change
2021-11-19 16:44:52 -08:00
Alan Ren
b131d1738d add foreign keys and constraints (#1316)
* add foreign keys and constraints

* add property name
2021-11-18 15:01:10 -08:00
Alan Ren
3fd400b0d6 use dacfx to populate table information (#1298) 2021-11-11 16:59:36 -08:00
Alan Ren
a3c69f3dd2 use path to identify edit target (#1292)
* use path to identify edit target

* async action

* revert RequestContext change

* comments

* address comments

* fix test
2021-11-10 17:39:48 -08:00
Alan Ren
e305d30004 load the schema information (#1274)
* load the schema information

* pr comments
2021-10-20 12:54:54 -07:00
Alan Ren
1a52a9ee84 handle dispose table designer request (#1273)
* handle dispose table designer

* use connection string
2021-10-19 13:04:01 -07:00
Alan Ren
192f7fccd4 handle add column request (#1272)
* handle add column request

* comments

* rename data to ViewModel
2021-10-19 09:54:57 -07:00
Alan Ren
791c3594a9 add table designer handlers (#1269)
* add table designer handlers

* add comments
2021-10-14 13:39:55 -07:00