예제 #1
0
        internal static int Update(Rel_Job_AppFunction info)
        {
            string sql = "update Rel_Job_AppFunction set Id=@Id,JobId=@JobId,AppFunctionId=@AppFunctionId where Rel_Job_AppFunctionId=@Rel_Job_AppFunctionId";

            return(Update <Rel_Job_AppFunction>(con, sql, info));
        }
예제 #2
0
        internal static int Add(Rel_Job_AppFunction info)
        {
            string sql = "insert into Rel_Job_AppFunction(Id,JobId,AppFunctionId) values(@Id,@JobId,@AppFunctionId)";

            return(Insert <Rel_Job_AppFunction>(con, sql, info));
        }