made methods virtual in efRepository