public SelectAll ( |
||
taxType | ||
return |
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);
}