Esempio n. 1
0
 public SpecificObjectsNode(IDatabaseSource conn, ITreeNode parent, ISpecificObjectType dbtype, ISpecificRepresentation repr, ObjectPath parpath, bool isSystem)
     : base(conn, parent, Texts.GetTextIdWithoutPrefix(repr.TitlePlural))
 {
     m_conn     = conn;
     m_dbtype   = dbtype;
     m_repr     = repr;
     m_parpath  = parpath;
     m_isSystem = isSystem;
 }
Esempio n. 2
0
        protected string GetDbObjectTreePath()
        {
            string dbpath = GetDatabaseTreePath();

            if (dbpath == null)
            {
                return(null);
            }
            var repr = DbObjectRepresentation;

            return(dbpath + "/" + Texts.GetTextIdWithoutPrefix(repr.TitlePlural) + "/" + DbObjectName.ToString("F"));
        }