// // PUBLIC METHODS // public string GetCatalogPath() { // Dataset parent = this.GetParent(); if (parent == null) { string version = string.Empty; DiagrammerEnvironment diagrammerEnvironment = DiagrammerEnvironment.Default; SchemaModel schemaModel = diagrammerEnvironment.SchemaModel; switch (schemaModel.WorkspaceType) { case esriWorkspaceType.esriFileSystemWorkspace: case esriWorkspaceType.esriLocalDatabaseWorkspace: break; case esriWorkspaceType.esriRemoteDatabaseWorkspace: if (string.IsNullOrEmpty(schemaModel.Version)) { break; } version += string.Format("/V={0}", schemaModel.Version); break; } return(version + this.GetDatasetPath()); } // return(parent.GetCatalogPath() + this.GetDatasetPath()); }