59 lines
2.1 KiB
C#
59 lines
2.1 KiB
C#
using Sarand.Net.Standard.Base.Core;
|
|
using Sarand.Net.Standard.Base.Bus;
|
|
using Sarand.Net.Standard.Base.Dbas;
|
|
using Sarand.Net.Standard.Base.ReferenceData;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sarand.Net.Standard.Dbas.ReferenceData
|
|
{
|
|
//=======================================================================
|
|
// Reference Data console - Tax Codes.
|
|
//=======================================================================
|
|
partial class SaReferenceDataConsole_Dbas
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
public override String TableName_TaxCode { get { return SaReferenceDataDbDfn.GetTableName(SaReferenceDataDbDfn.TableIdx.TaxCode, false); } }
|
|
public override bool DatabaseIsValid_TaxCode { get { return Database.TableExists(TableName_TaxCode); } }
|
|
|
|
// Retrieve Item.
|
|
public override SaTaxCode GetTaxCode (SaTaxCode.Params prmTaxCode)
|
|
{
|
|
return referenceDataMgr.GetTaxCode(prmTaxCode);
|
|
}
|
|
|
|
// Item list.
|
|
public override ColumnDfn GetTaxCodeColumnDfn (SaTaxCode.Column columnId, String caption = "", int width = 0)
|
|
{
|
|
return referenceDataMgr.GetTaxCodeColumnDfn(columnId, caption, width);
|
|
}
|
|
public override List<String> GetTaxCodeQueryFilter (SaTaxCode.Params prm)
|
|
{
|
|
return referenceDataMgr.GetTaxCodeQueryFilter(prm);
|
|
}
|
|
public override long GetTaxCodeCount (SaTaxCode.Params prmTaxCode)
|
|
{
|
|
return referenceDataMgr.GetTaxCodeCount(prmTaxCode);
|
|
}
|
|
public override List<SaTaxCode> GetTaxCodeList (SaTaxCode.Params prmTaxCode)
|
|
{
|
|
return referenceDataMgr.GetTaxCodeList(prmTaxCode);
|
|
}
|
|
public override DbResultSet ExecuteTaxCodeQuery (List<ColumnDfn> columns, SaTaxCode.Params prm)
|
|
{
|
|
return referenceDataMgr.ExecuteTaxCodeQuery(columns, prm);
|
|
}
|
|
public override DataValue GetTaxCodeDataValue (ColumnDfn column, NamedValue.Map values)
|
|
{
|
|
return referenceDataMgr.GetTaxCodeDataValue(column, values);
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|