using System;
using System.Collections.Generic;
using System.Text;
using Song.Entities;
namespace Song.ServiceInterfaces
{
///
/// 二级域名的管理
///
public interface ILimitDomain : WeiSha.Common.IBusinessInterface
{
///
/// 添加
///
/// 业务实体
void DomainAdd(LimitDomain entity);
///
/// 修改
///
/// 业务实体
void DomainSave(LimitDomain entity);
///
/// 删除,按主键ID;
///
/// 实体的主键
void DomainDelete(int identify);
///
/// 获取单一实体对象,按主键ID;
///
/// 实体的主键
///
LimitDomain DomainSingle(int identify);
///
/// 获取指定数量的实体
///
///
///
///
LimitDomain[] DomainCount(bool? isUse, int count);
///
/// 当前对象名称是否重名
///
/// 实体
///
bool DomainIsExist(LimitDomain entity);
///
/// 当前域名是否存在
///
///
///
bool DomainIsExist(string domain);
///
/// 分页获取
///
///
///
///
///
///
LimitDomain[] DomainPager(bool? isUse, string search, int size, int index, out int countSum);
}
}