using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
using System.Data;
namespace CY.IDAL
{
///
/// 资讯分类-数据库操作接口
///
public interface IInfo_AdDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 根据编号查询单个信息
///
/// 编号
///
Info_Ad SelectModelByKeyId(int? KeyId);
///
/// 查询全部分类
///
///
DataTable SelectList();
///
/// 根据版块名称和位置名称返回广告代码
///
///
///
///
string SelectAdByLocationName(string ForumName, string LocationName);
///
/// 根据位置编号查询所有广告信息
///
///
///
Info_Ad SelectListByAdLocationId(int? AdLocationId);
///
/// 列表查询
///
///
///
///
///
///
///
IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, int? Remark, int? locationid, string UserName, bool isNow);
}
}