EchoTex_Payroll/HRM.DA/DA/Tax/TaxParameterSlabDA.cs
2024-10-14 10:01:49 +06:00

71 lines
2.0 KiB
C#

//using System;
//
//using System.Data;
//using System.Linq;
//using Ease.Core.Model;
//using System.Data.SqlClient;
//using Ease.Core.DataAccess;
//using System.Collections.Generic;
//using Ease.Core.DataAccess.SQL;
//namespace Payroll.Service
//{
// #region TaxParameterSlabDA
// internal class TaxParameterSlabDA
// {
// #region Constructor
// private TaxParameterSlabDA() { }
// #endregion
// #region Insert function
// internal static void Insert(TransactionContext tc, TaxParameterSlab item)
// {
// tc.ExecuteNonQuery("INSERT INTO TaxParameterSlab(TaxParameterSlabID, taxParamID, incomeAmount, taxPercent, sequenceNo, type)" +
// " VALUES(%n, %n, %n, %n, %n, %n)", item.ID, item.TaxparamID, item.IncomeAmount, item.TaxPercent, item.SequenceNo, item.ParamType);
// }
// #endregion
// #region Update function
// internal static void Update(TransactionContext tc, TaxParameterSlab item)
// {
// tc.ExecuteNonQuery("UPDATE TaxParameterSlab SET taxParamID=%n, incomeAmount=%n, taxPercent=%n, sequenceNo=%n, type=%n" +
// " WHERE TaxParameterSlabID=%n", item.TaxparamID, item.IncomeAmount, item.TaxPercent, item.SequenceNo, item.ParamType, item.ID);
// }
// #endregion
// #region Get Function
// internal static IDataReader Get(TransactionContext tc)
// {
// return tc.ExecuteReader("SELECT * FROM TaxParameterSlab");
// }
// internal static IDataReader Get(TransactionContext tc, int nID)
// {
// return tc.ExecuteReader("SELECT * FROM TaxParameterSlab WHERE TaxParameterSlabID=%n", nID);
// }
// #endregion
// #region Delete function
// internal static void Delete(TransactionContext tc, int nID)
// {
// tc.ExecuteNonQuery("DELETE FROM [TaxParameterSlab] WHERE TaxParameterSlabID=%n", nID);
// }
// #endregion
// }
// #endregion
//}