There are forty students in my class including Daming.“我们班有四十名学生,包括Daming". including是介词”包括“之意。 including Daming介词短语作状语,起”进一步解释说明“的作用。不是定语,也不是同位语。
in my classincluding Daming在上述语句中是状语。