C# Class CCN.Modules.CustRelations.DataAccess.CustRelationsDA

Inheritance: CCN.Modules.CustRelations.DataAccess.CustRelationsDataAccessBase
Exibir arquivo Open project: Chinaccn/surfboard

Public Methods

Method Description
AddRelationsApply ( CustRelationsApplyModels model ) : int

添加好友申请

CheckRelations ( string userid, string friendsid ) : int

检查是否已建立关系

CheckRelationsApply ( string fromid, string toid ) : int

根据请求id获取申请信息

DeleteApplyById ( string innerid ) : int

删除好友的申请

DeleteRelations ( string fromid, string toid ) : int

删除好友关系

GetApplyNumber ( string fromid ) : int

获取当天已经申请添加好友人数

GetCustPageList ( CustQueryModel query ) : BasePageList

查询会员

GetCustRelationsByUserId ( string userid ) : IEnumerable

获取好友列表

GetCustRelationsPageList ( CustRelationsApplyQueryModels query ) : BasePageList

获取加好友申请

GetHaveCarCustList ( CustRelationsCarQueryModel query ) : BasePageList

社交圈搜车

GetRelationsApplyById ( string innerid ) : CustRelationsApplyModels

根据请求id获取申请信息

HandleRelationsApply ( string innerid, int status, string fromid, string toid ) : int

处理好友申请

UpdateRelationsApply ( CustRelationsApplyModels model ) : int

修改好友申请[重复申请] by fromid and toid

UpdateRelationsApplyById ( CustRelationsApplyModels model ) : int

修改好友申请By id

Method Details

AddRelationsApply() public method

添加好友申请
public AddRelationsApply ( CustRelationsApplyModels model ) : int
model CCN.Modules.CustRelations.BusinessEntity.CustRelationsApplyModels
return int

CheckRelations() public method

检查是否已建立关系
public CheckRelations ( string userid, string friendsid ) : int
userid string
friendsid string
return int

CheckRelationsApply() public method

根据请求id获取申请信息
public CheckRelationsApply ( string fromid, string toid ) : int
fromid string
toid string
return int

DeleteApplyById() public method

删除好友的申请
public DeleteApplyById ( string innerid ) : int
innerid string
return int

DeleteRelations() public method

删除好友关系
public DeleteRelations ( string fromid, string toid ) : int
fromid string
toid string
return int

GetApplyNumber() public method

获取当天已经申请添加好友人数
public GetApplyNumber ( string fromid ) : int
fromid string
return int

GetCustPageList() public method

查询会员
public GetCustPageList ( CustQueryModel query ) : BasePageList
query CCN.Modules.CustRelations.BusinessEntity.CustQueryModel 查询条件
return BasePageList

GetCustRelationsByUserId() public method

获取好友列表
public GetCustRelationsByUserId ( string userid ) : IEnumerable
userid string 用户id
return IEnumerable

GetCustRelationsPageList() public method

获取加好友申请
public GetCustRelationsPageList ( CustRelationsApplyQueryModels query ) : BasePageList
query CCN.Modules.CustRelations.BusinessEntity.CustRelationsApplyQueryModels 查询条件
return BasePageList

GetHaveCarCustList() public method

社交圈搜车
public GetHaveCarCustList ( CustRelationsCarQueryModel query ) : BasePageList
query CCN.Modules.CustRelations.BusinessEntity.CustRelationsCarQueryModel 查询条件
return BasePageList

GetRelationsApplyById() public method

根据请求id获取申请信息
public GetRelationsApplyById ( string innerid ) : CustRelationsApplyModels
innerid string
return CCN.Modules.CustRelations.BusinessEntity.CustRelationsApplyModels

HandleRelationsApply() public method

处理好友申请
public HandleRelationsApply ( string innerid, int status, string fromid, string toid ) : int
innerid string
status int
fromid string
toid string
return int

UpdateRelationsApply() public method

修改好友申请[重复申请] by fromid and toid
public UpdateRelationsApply ( CustRelationsApplyModels model ) : int
model CCN.Modules.CustRelations.BusinessEntity.CustRelationsApplyModels
return int

UpdateRelationsApplyById() public method

修改好友申请By id
public UpdateRelationsApplyById ( CustRelationsApplyModels model ) : int
model CCN.Modules.CustRelations.BusinessEntity.CustRelationsApplyModels
return int