/// <summary>
 /// Initializes a new instance of the CustomerCollectionViewModel class.
 /// This constructor is declared protected to avoid undesired instantiation of the CustomerCollectionViewModel type without the POCO proxy factory.
 /// </summary>
 /// <param name="unitOfWorkFactory">A factory used to create a unit of work instance.</param>
 protected CustomerCollectionViewModel(IUnitOfWorkFactory <IDevAVDbUnitOfWork> unitOfWorkFactory = null, UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual)
     : base(unitOfWorkFactory ?? UnitOfWorkSource.GetUnitOfWorkFactory(), x => x.Customers, query => QueriesHelper.GetCustomerInfoWithSales(query), unitOfWorkPolicy: unitOfWorkPolicy)
 {
 }