Exemple #1
0
        //ISpecificObjectStructure m_struct;

        public SpecificObjectNode(SpecificObjectsNode parent, IDatabaseSource conn, ISpecificObjectType dbtype, ISpecificRepresentation repr, ObjectPath objpath)
            : base(new ConnectionWrapperUsage(parent.GetConnection()), parent, objpath.ObjectName.ToString())
        {
            m_dbtype  = dbtype;
            m_repr    = repr;
            m_objpath = objpath;
            m_conn    = conn;
            m_objCaps = m_conn.AlterCaps[m_dbtype.ObjectType];
            var appobj = new SpecificObjectAppObject();

            appobj.FillFromDatabase(conn);
            appobj.DbObjectName = m_objpath.ObjectName;
            appobj.DbObjectType = dbtype.ObjectType;
            SetAppObject(appobj);
        }
Exemple #2
0
 protected override bool SuitableForCaps(ObjectOperationCaps caps)
 {
     return(caps.Drop);
 }
Exemple #3
0
 protected abstract bool SuitableForCaps(ObjectOperationCaps caps);