Example #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]);
        }
Example #2
0
 public DataTable GetKanbanCustomers()
 {
     return(CustomerDac.RetrieveKanban().Tables[0]);
 }
Example #3
0
 public DataTable GetTaxCustomers()
 {
     return(CustomerDac.RetrieveInvoiceTax().Tables[0]);
 }
Example #4
0
 public DataTable GetAllCustomers()
 {
     return(CustomerDac.Retrieve().Tables[0]);
 }