Ejemplo 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(WarehouseDac.Retrieve(this, searchOption).Tables[0]);
        }
Ejemplo n.º 2
0
 public static DataTable Retrieve()
 {
     return(WarehouseDac.Retrieve().Tables[0]);
 }