示例#1
0
        /// <summary>
        /// 根据主键删除 T_DataDictionary 表数据
        /// </summary>
        /// <param name=id>主键</param>
        public bool Delete(System.Int64 id)
        {
            T_DataDictionary info = new T_DataDictionary();

            info.DId = id;
            return(dal.Delete(info));
        }
示例#2
0
        /// <summary>
        /// 根据主键查询一个实体
        /// </summary>
        /// <param name=id>主键</param>
        public T_DataDictionary SelectForID(System.Int64 id)
        {
            T_DataDictionary info = new T_DataDictionary();

            info.DId = id;
            dal.SelectForID(info);
            return(info);
        }
示例#3
0
 /// <summary>
 /// 根据主键修改 T_DataDictionary 表数据
 /// </summary>
 /// <param name=info>T_DataDictionary 实体对象</param>
 public bool Update(T_DataDictionary info)
 {
     return(dal.Update(info));
 }
示例#4
0
 /// <summary>
 /// 新增 T_DataDictionary 表数据
 /// </summary>
 /// <param name=info>T_DataDictionary 实体对象</param>
 public bool Insert(T_DataDictionary info)
 {
     return(dal.Insert(info));
 }