B.
There being no classes yesterday是There be 句型的独立主格结构,在句中作状语.如果填A,前半句也是独立的句子了,这两个句子之间不是主从关系,也不是并列,故不可选.