mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-21 01:25:42 -05:00
Important bug fixes for edit/commit (extended property check) (#294)
* Ensures that metadata is "extended" before creating a new row edit object * Adds the commit handler to edit data service initialization calls * Unit tests for the associated changes
This commit is contained in:
@@ -440,6 +440,7 @@ namespace Microsoft.SqlTools.ServiceLayer.EditData
|
||||
NextRowId = associatedResultSet.RowCount;
|
||||
EditCache = new ConcurrentDictionary<long, RowEditBase>();
|
||||
IsInitialized = true;
|
||||
objectMetadata.Extend(associatedResultSet.Columns);
|
||||
|
||||
// Step 4) Return our success
|
||||
await successHandler();
|
||||
|
||||
Reference in New Issue
Block a user