|
I am accessing an ideablade object and occaisionally getting the following error... Any ideas on what could cause this? System.Data.DuplicateNameException: A DataTable named 'Model:FacilityArea' already belongs to this DataSet. at System.Data.DataTableCollection.RegisterName(String name, String tbNamespace) at System.Data.DataTableCollection.BaseAdd(DataTable table) at System.Data.DataTableCollection.Add(DataTable table) at IdeaBlade.Persistence.PersistenceManager.AddTable(EntityTable pEntityTable) at IdeaBlade.Persistence.PersistenceManager.CreateTableAndInitialize(Type pEntityType) at IdeaBlade.Persistence.PersistenceManager.GetTable(Type pEntityType) at IdeaBlade.Persistence.PersistenceManager.ArePrimaryKeyColumns(EntityColumn[] pEntityColumns) at IdeaBlade.Persistence.PersistenceManager.XGetRelated(ICollection pEntities, EntityRelationLink pRelationLink, QueryStrategy pQueryStrategy, WorkState pWorkState) at IdeaBlade.Persistence.PersistenceManager.GetParent(Entity pEntity, EntityRelation pEntityRelation, QueryStrategy pQueryStrategy) at IdeaBlade.Persistence.PersistenceManager.GetParent[T](Entity pEntity, EntityRelation pEntityRelation, QueryStrategy pQueryStrategy) at IdeaBlade.Persistence.Entity.GetParent[T](EntityRelation pRelation, QueryStrategy pStrategy) at Model.SessionManifestDataRow.GetFacilityAreaImpl() at Model.SessionManifestDataRow.get_FacilityArea() at Session_Export.mSessionExportForm.mSessionUltraGrid2_BeforeCellActivate_1(Object sender, CancelableCellEventArgs e) The line of code that generates this is... Dim mSessionArea As String = mSession.SessionManifest.FacilityArea.ToString()
|