Example #1
0
        public override void Query()
        {
            if (ProjectId != null && ProjectId != Guid.Empty)
            {
                var executed_result = controller.Query(p => p.ProjectId == ProjectId);

                if (!executed_result.HasError)
                {
                    SupplierTranscationItem data = executed_result.Result.Single();
                    BindingFromModel(data, this);

                    if (data.ManufacturersBussinessItems != null)
                    {
                        BindingFromModel(data.ManufacturersBussinessItems, this);
                    }
                }
            }
        }