//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); }
protected override bool SuitableForCaps(ObjectOperationCaps caps) { return(caps.Drop); }
protected abstract bool SuitableForCaps(ObjectOperationCaps caps);