Hi, I have an application written in visual basic that uses arcgis objects. The application does several different things that are triggered from the UI. Each of these individual actions always creates a new workspace
Dim workspaceFactory As ESRI.ArcGIS.Geodatabase.IWorkspaceFactory = New ESRI.ArcGIS.DataSourcesGDB.SdeWorkspaceFactory()
After running one action, new columns are added to the sql table using AddField.
Dim ITable As ESRI.ArcGIS.Geodatabase.ITable
Dim IFieldEdit As ESRI.ArcGIS.Geodatabase.IFieldEdit
ITable .AddField(IFieldEdit )
A subsequent test shows that the columns have been added and are also visible in the sql manager.
featureClass.Fields.FindField(fieldName)
At the end of this action, the workspace is released.
System.Runtime.InteropServices.Marshal.ReleaseComObject(featureWorkspace)
When the workspace is created again in another action, arcgis does not see the new columns. Do you know what could be the problem?