public void RecordsetSample(Workspace workspace)
{
DatasetVector dataset_world = workspace.Datasources[0].Datasets["圆柱"] as DatasetVector;
DatasetVector dataset = workspace.Datasources[0].Datasets["柱"] as DatasetVector;
Recordset recordset = dataset.Query("SmID=1", CursorType.Dynamic);
Recordset recordset_world = dataset_world.Query("SmID=1", CursorType.Dynamic);
recordset.MoveFirst();
Geometry geometry = recordset.GetGeometry();
recordset_world.Edit();
recordset_world.SetGeometry(geometry);
recordset_world.Update();
recordset_world.Refresh();
recordset.Close();
geometry.Dispose();
recordset.Dispose();
recordset_world.Dispose();
}