public GenericRepository(MappingContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }