EchoTex_Payroll/HRM.DA/DA/Organogram/OrganogramSkillLevelDA.cs

66 lines
2.1 KiB
C#
Raw 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 OrganogramSkillLevel DA
// internal class OrganogramSkillLevelDA
// {
// #region Constructor
// private OrganogramSkillLevelDA() { }
// #endregion
// #region Insert function
// internal static void Insert(TransactionContext tc, OrganogramSkillLevel item)
// {
// tc.ExecuteNonQuery("INSERT INTO OrganogramSkillLevel(OrganogramSkillLevelID, NodeID,NodeResponsibilityID,LevelID,SkillID, ModifiedBy, ModifiedDate)" +
// " VALUES(%n, %n,%n,%n,,%n,%n, %d)", item.ID, item.NodeID,item.NodeResponsibilityID, item.LevelID,item.SkillID, item.ModifiedBy, item.ModifiedDate);
// }
// #endregion
// #region Update function
// internal static void Update(TransactionContext tc, OrganogramSkillLevel item)
// {
// tc.ExecuteNonQuery("UPDATE OrganogramSkillLevel SET NodeID=%n,NodeResponsibilityID =%n,LevelID=%n,SkillID=%n, ModifiedBy=%n, ModifiedDate=%d" +
// "WHERE OrganogramSkillLevelID=%n", item.NodeID, item.NodeResponsibilityID, item.LevelID,item.SkillID, item.ModifiedBy, item.ModifiedDate, item.ID);
// }
// #endregion
// #region Delete function
// internal static void Delete(TransactionContext tc, int nID)
// {
// tc.ExecuteNonQuery("DELETE FROM [OrganogramSkillLevel] Where OrganogramSkillLevelID=%n", nID);
// }
// #endregion
// #region Get Function
// internal static IDataReader Get(TransactionContext tc)
// {
// return tc.ExecuteReader("SELECT * FROM OrganogramSkillLevel Order By OrganogramSkillLevelID");
// }
// internal static IDataReader Get(TransactionContext tc, int nID)
// {
// return tc.ExecuteReader("SELECT * FROM OrganogramSkillLevel Where OrganogramSkillLevelID=%n", nID);
// }
// #endregion
// }
// #endregion
//}