public IObjectSet <T> GetAll <T>() where T : class, IEntityWithKey { return(_container.CreateObjectSet <T>()); }