Exemplo n.º 1
0
        public DataTable Retrieve(SearchOption SearchOption)
        {
            Int32 searchOption;

            switch (SearchOption)
            {
            case SearchOption.StartsWith: searchOption = 2; break;

            case SearchOption.Contains: searchOption = 3; break;

            case SearchOption.EndsWith: searchOption = 4; break;

            default: searchOption = 1; break;
            }

            return(CustomerDac.Retrieve(this, searchOption).Tables[0]);
        }
Exemplo n.º 2
0
 public DataTable GetKanbanCustomers()
 {
     return(CustomerDac.RetrieveKanban().Tables[0]);
 }
Exemplo n.º 3
0
 public DataTable GetTaxCustomers()
 {
     return(CustomerDac.RetrieveInvoiceTax().Tables[0]);
 }
Exemplo n.º 4
0
 public DataTable GetAllCustomers()
 {
     return(CustomerDac.Retrieve().Tables[0]);
 }