CEL_Payroll/Payroll.Service/SAPLookUp/DA/SAPDataProcessDetailDA.cs
2024-09-17 14:30:13 +06:00

69 lines
2.0 KiB
C#

//using System;
//using Payroll.BO;
//using System.Data;
//using System.Linq;
//using Ease.CoreV35.Model;
//using System.Data.SqlClient;
//using Ease.CoreV35.DataAccess;
//using System.Collections.Generic;
//using Ease.CoreV35.DataAccess.SQL;
//namespace Payroll.Service
//{
// #region SAPDataProcessDetailDA
// internal class SAPDataProcessDetailDA
// {
// #region Constructor
// private SAPDataProcessDetailDA() { }
// #endregion
// #region Insert function
// internal static void Insert(TransactionContext tc, SAPDataProcessDetail item)
// {
// tc.ExecuteNonQuery("INSERT INTO SAPDataProcessDetail(SAPDataProcessDetailID, EmployeeNo, Name, DataType, Description)" +
// " VALUES(%n, %s, %s, %s, %s)", item.ID.Integer, item.EmployeeNo, item.Name, item.DataType, item.Description);
// }
// #endregion
// #region Update function
// internal static void Update(TransactionContext tc, SAPDataProcessDetail item)
// {
// tc.ExecuteNonQuery("UPDATE SAPDataProcessDetail SET EmployeeNo=%s, Name=%s, DataType=%n, Description=%d" +
// " WHERE SAPDataProcessDetailID=%n", item.EmployeeNo, item.Name, item.DataType, item.Description, item.ID.Integer);
// }
// #endregion
// #region Get Function
// internal static IDataReader Get(TransactionContext tc)
// {
// return tc.ExecuteReader("SELECT * FROM SAPDataProcessDetail");
// }
// internal static IDataReader Get(TransactionContext tc, ID nID)
// {
// return tc.ExecuteReader("SELECT * FROM SAPDataProcessDetail WHERE SAPDataProcessDetailID=%n", nID.Integer);
// }
// #endregion
// #region Delete function
// internal static void Delete(TransactionContext tc, ID nID)
// {
// tc.ExecuteNonQuery("DELETE FROM [SAPDataProcessDetail] WHERE CompanyID=%n", nID.Integer);
// }
// #endregion
// }
// #endregion
//}