Entity framework. Base classes.