Пример #1
0
        /// <summary>
        /// 删除PathEmpRelation信息
        /// </summary>
        /// <param name="id">记录Id</param>
        /// <returns>此次操作影响的行数</returns>
        public int DeletePathEmpRelation(int id)
        {
            if (pathEmpRelationDal == null)
            {
                pathEmpRelationDal = new PathEmpRelationDal();
            }

            int result = pathEmpRelationDal.DeletePathEmpRelation(id);
            return result;
        }
Пример #2
0
 /// <summary>
 /// 修改PathEmpRelation信息
 /// </summary>
 /// <param name="pathEmpRelation">线路员工关系类对象</param>
 /// <returns>此次操作影响的行数</returns>
 public int UpdatePathEmpRelation_cjg(PathEmpRelationModel pathEmpRelation)
 {
     if (pathEmpRelationDal == null)
     {
         pathEmpRelationDal = new PathEmpRelationDal();
     }
     string strMessage="";
     int result = pathEmpRelationDal.UpdatePathEmpRelation(pathEmpRelation,out strMessage);
     return result;
 }
Пример #3
0
        /// <summary>
        /// 增加PathEmpRelation信息
        /// </summary>
        /// <param name="pathEmpRelation">线路员工关系类对象</param>
        /// <returns>此次操作影响的行数</returns>
        public int InsertPathEmpRelation(PathEmpRelationModel pathEmpRelation,out string strMessage)
        {
            if (pathEmpRelationDal == null)
            {
                pathEmpRelationDal = new PathEmpRelationDal();
            }

            int result = pathEmpRelationDal.InsertPathEmpRelation(pathEmpRelation,out strMessage);
            return result;
        }
Пример #4
0
        /// <summary>
        /// 增加PathEmpRelation信息
        /// </summary>
        /// <param name="pathEmpRelation">线路员工关系类对象</param>
        /// <returns>此次操作影响的行数</returns>
        public int InsertPathEmpRelation_cjg(PathEmpRelationModel pathEmpRelation)
        {
            if (pathEmpRelationDal == null)
            {
                pathEmpRelationDal = new PathEmpRelationDal();
            }

            int result = pathEmpRelationDal.InsertPathEmpRelation_cjg(pathEmpRelation);
            return result;
        }
Пример #5
0
        /// <summary>
        /// 增加PathEmpRelation信息
        /// </summary>
        /// <param name="strCondition">查询条件</param>
        /// <returns>返回的记录表信息</returns>
        public DataTable SelectPathEmpRelation(string strCondition)
        {
            if (pathEmpRelationDal == null)
            {
                pathEmpRelationDal = new PathEmpRelationDal();
            }

            DataTable dt = pathEmpRelationDal.SelectPathEmpRelation(strCondition);
            return dt;
        }