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; }
//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); }
public SpecificObjectsWidget(ISpecificObjectType dbtype) { m_dbtype = dbtype; m_repr = SpecificRepresentationAddonType.Instance.FindRepresentation(m_dbtype.ObjectType); }