예제 #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(ItemDac.Retrieve(this, searchOption).Tables[0]);
        }
예제 #2
0
 public DataTable Retrieve()
 {
     return(ItemDac.Retrieve(this).Tables[0]);
 }
예제 #3
0
 public DataTable Retrieve(Int32 Id)
 {
     return(ItemDac.Retrieve(Id).Tables[0]);
 }
예제 #4
0
 public DataTable Retrieve(String ItemCode)
 {
     return(ItemDac.Retrieve(ItemCode).Tables[0]);
 }