EchoTex_Payroll/HRM.DA/DA/Organogram/OrganogramJobDescDA.cs

67 lines
2.1 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
//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 OrganogramJobDesc DA
// internal class OrganogramJobDescDA
// {
// #region Constructor
// private OrganogramJobDescDA() { }
// #endregion
// #region Insert function
// internal static void Insert(TransactionContext tc, OrganogramJobDesc item)
// {
// tc.ExecuteNonQuery("INSERT INTO OrganogramJobDesc(OrganogramJobDescID, NodeID,Purpose,JobSummery,Experience,Education, ModifiedBy, ModifiedDate)" +
// " VALUES(%n, %n, %s, %s,%s,%s,%n, %d)", item.ID, item.NodeID, item.Purpose,item.JobSummery,item.Experience,item.Education, item.ModifiedBy, item.ModifiedDate);
// }
// #endregion
// #region Update function
// internal static void Update(TransactionContext tc, OrganogramJobDesc item)
// {
// tc.ExecuteNonQuery("UPDATE OrganogramJobDesc SET NodeID=%n, Purpose=%s,JobSummery=%s,Experience=%s,Education=%s, ModifiedBy=%n, ModifiedDate=%d" +
// "WHERE OrganogramJobDescID=%n", item.NodeID, item.Purpose, item.JobSummery,item.Experience,item.Education, item.ModifiedBy, item.ModifiedDate, item.ID);
// }
// #endregion
// #region Delete function
// internal static void Delete(TransactionContext tc, int nID)
// {
// tc.ExecuteNonQuery("DELETE FROM [OrganogramJobDesc] Where OrganogramJobDescID=%n", nID);
// }
// #endregion
// #region Get Function
// internal static IDataReader Get(TransactionContext tc)
// {
// return tc.ExecuteReader("SELECT * FROM OrganogramJobDesc Order By OrganogramJobDescID");
// }
// internal static IDataReader Get(TransactionContext tc, int nID)
// {
// return tc.ExecuteReader("SELECT * FROM OrganogramJobDesc Where OrganogramJobDescID=%n", nID);
// }
// #endregion
// }
// #endregion
//}