(3) in the case of a particular partnership,(a) an establishment, within the meaning of the first paragraph of section 12 or section 13 or 15 of the Taxation Act, of a member that is an individual, the succession of a deceased individual or a trust where the establishment relates to a business, within the meaning of section 1 of the Taxation Act, carried on through the partnership,
(b) an establishment, within the meaning of the first paragraph of section 12 or any of sections 13 to 16 of the Taxation Act, of a member that is a corporation where the establishment relates to a business, within the meaning of section 1 of the Taxation Act, carried on by the particular partnership, or
(c) a permanent establishment, within the meaning of this section, of a member that is a partnership where the establishment relates to a business, within the meaning of section 1 of the Taxation Act, carried on by the particular partnership; and
(d) in any other case, a place that would be an establishment, within the meaning of the first paragraph of section 12 or any of sections 13 to 16 of the Taxation Act, of the person if the person were a corporation and its activities were a business for the purposes of that Act.