ERP.DAL/Base/DalT_BASE_ACCOUNT.cs

(开头部分) 900B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ERP.Model.Base; 

namespace ERP.DAL.Base
{
    public class DalT_BASE_ACCOUNT :DalBase
   {
        public static IList<T_BASE_ACCOUNT> GetIList(string SelectName,T_BASE_ACCOUNT model)
        {
            return objMapper.GetMapper().QueryForList<T_BASE_ACCOUNT>(SelectName, model);
        }

        public static void DeleteData(int id)
        {
            objMapper.GetMapper().Delete("T_BASE_ACCOUNT.DeleteT_BASE_ACCOUNT", id);
        }

        public static decimal InsertData(T_BASE_ACCOUNT model)
        {
            return decimal.Parse(objMapper.GetMapper().Insert(model.InsertName, model).ToString());
        }

        public static void UpdateData(T_BASE_ACCOUNT model)
        {
            objMapper.GetMapper().Update(model.UpdateName, model);
        }

    } 
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。