Exemplo n.º 1
0
        private BindingList <Address> GetAddresses(string companyID)
        {
            BindingList <Address> itemList = new BindingList <Address>(_serviceAgent.GetAddresses(companyID).ToList());

            Dirty       = false;
            AllowCommit = false;
            return(itemList);
        }
Exemplo n.º 2
0
 private BindingList <Address> GetAddresses(string companyID)
 {//note this get is to the singleton repository...
     return(new BindingList <Address>(_serviceAgent.GetAddresses(companyID).ToList()));
 }