HBM.GeneralManagement.TaxTypeDAO.SelectAll C# (CSharp) Method

SelectAll() public method

public SelectAll ( TaxType taxType ) : DataSet
taxType TaxType
return System.Data.DataSet
        public DataSet SelectAll(TaxType taxType)
        {
            Database db = DatabaseFactory.CreateDatabase(Constants.HBMCONNECTIONSTRING);
            DbCommand dbCommand = db.GetStoredProcCommand("usp_TaxTypeSelectAll");
            db.AddInParameter(dbCommand, "@CompanyId", DbType.Int32, taxType.CompanyId);

            return db.ExecuteDataSet(dbCommand);
        }