username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
using System.Data;
 
namespace CY.IDAL
{
    /// <summary>
    /// 资讯分类-数据库操作接口
    /// </summary>
    public interface IInfo_SortDAL : ICommonDAL, IPaging<Info_Sort>, IGetAllModel<Info_Sort>
    {
        /// <summary>
        /// 根据上级编号查询全部分类
        /// </summary>
        /// <param name="ParentId">编号</param>
        /// <returns></returns>
        IEnumerable<Info_Sort> SelectListByParentId(int? ParentId);
        
        /// <summary>
        /// 查询全部分类
        /// </summary>
        /// <returns></returns>
        DataTable SelectList(Guid FirmId);
        
        /// <summary>
        /// 根据编号查询单个信息
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        Info_Sort SelectModelByKeyId(int? KeyId);
        /// <summary>
        /// 删除分类及分类下信息
        /// </summary>
        /// <param name="Keyid"></param>
        /// <returns></returns>
        bool DeleteModelAll(int? Keyid);
    }
}