using System;
using System.Collections.Generic;
using System.Linq;

using Common;
using ^DAL^;
using System.ServiceModel;

namespace ^IBLL^
{
    /// <summary>
    /// ^ReplaceClassName^ 接口
    /// </summary>
    [ServiceContract(Namespace = "www.langben.com")]
    public interface I^ReplaceClassCode^BLL
    {
        /// <summary>
        /// 查询的数据
        /// </summary>
        /// <param name="id">额外的参数</param>
        /// <param name="page">页码</param>
        /// <param name="rows">每页显示的行数</param>
        /// <param name="order">排序字段</param>
        /// <param name="sort">升序asc（默认）还是降序desc</param>
        /// <param name="search">查询条件</param>
        /// <param name="total">结果集的总数</param>
        /// <returns>结果集</returns>
        [OperationContract]
        List<^ReplaceClassCode^> GetByParam(string id, int page, int rows, string order, string sort, string search, ref int total);
        /// <summary>
        /// 获取所有
        /// </summary>
        /// <returns></returns>
        [OperationContract]
        System.Collections.Generic.List<^ReplaceClassCode^> GetAll();
 
    }
}
