删除柱中SmID=1记录,删之前能否定义个全局变量用来保存柱中SmID模型的位置信息?
DatasetVector dataset = workspace.Datasources[0].Datasets["柱"] as DatasetVector;
Recordset recordset = dataset.Query("SmID=1", CursorType.Dynamic);
recordset.MoveFirst();
recordset.Edit();
recordset.Delete();
recordset.Refresh();
recordset.Close();
recordset.Dispose();
recordset.Dispose();
m_sceneControl.Scene.Close();