mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
Fix edit data isMemoryOptimized issue (#298)
* adding refresh * adding a comment * spelling
This commit is contained in:
@@ -75,6 +75,9 @@ namespace Microsoft.SqlTools.ServiceLayer.EditData
|
||||
throw new ArgumentOutOfRangeException(nameof(objectType), SR.EditDataUnsupportedObjectType(objectType));
|
||||
}
|
||||
|
||||
// A bug in SMO makes it necessary to call refresh to attain certain properties (such as IsMemoryOptimized)
|
||||
smoResult.Refresh();
|
||||
|
||||
// Generate the edit column metadata
|
||||
List<EditColumnMetadata> editColumns = new List<EditColumnMetadata>();
|
||||
for (int i = 0; i < smoResult.Columns.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user