public SortingViewModel ()
		{
			ProductRepository product = new ProductRepository ();
			products = product.GetProductDetails (200);
		}
		public void SetRowstoGenerate (int count)
		{
			ProductRepository product = new ProductRepository ();
			products = product.GetProductDetails (count);
		}
示例#3
0
        public void SetRowstoGenerate(int count)
        {
            ProductRepository product = new ProductRepository();

            products = product.GetProductDetails(100);
        }
        public ContextMenuViewModel()
        {
            ProductRepository product = new ProductRepository();

            products = product.GetProductDetails(100);
        }
        public UnboundViewModel()
        {
            ProductRepository product = new ProductRepository();

            products = product.GetProductDetails(100);
        }
        public SortingViewModel()
        {
            ProductRepository product = new ProductRepository();

            products = product.GetProductDetails(200);
        }