CEL_Payroll/Payroll.Service/Organogram/DA/OrganogramJobDescDA.cs

66 lines
2.2 KiB
C#
Raw Permalink Normal View History

2024-09-17 14:30:13 +06:00
//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 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.Integer, item.NodeID.Integer, item.Purpose,item.JobSummery,item.Experience,item.Education, item.ModifiedBy.Integer, 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.Integer, item.Purpose, item.JobSummery,item.Experience,item.Education, item.ModifiedBy.Integer, item.ModifiedDate, item.ID.Integer);
// }
// #endregion
// #region Delete function
// internal static void Delete(TransactionContext tc, ID nID)
// {
// tc.ExecuteNonQuery("DELETE FROM [OrganogramJobDesc] Where OrganogramJobDescID=%n", nID.Integer);
// }
// #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, ID nID)
// {
// return tc.ExecuteReader("SELECT * FROM OrganogramJobDesc Where OrganogramJobDescID=%n", nID.Integer);
// }
// #endregion
// }
// #endregion
//}