コード例 #1
0
 private BindingList <WarehouseLocation> GetWarehouseLocations(string companyID)
 {//note this get is to the singleton repository...
     return(new BindingList <WarehouseLocation>(_serviceAgent.GetWarehouseLocations(companyID).ToList()));
 }
コード例 #2
0
        private BindingList <WarehouseLocation> GetWarehouseLocations(string companyID)
        {
            BindingList <WarehouseLocation> itemList = new BindingList <WarehouseLocation>(_serviceAgent.GetWarehouseLocations(companyID).ToList());

            Dirty       = false;
            AllowCommit = false;
            return(itemList);
        }