/
UserLoginLogMgr.cs
65 lines (61 loc) · 1.81 KB
/
UserLoginLogMgr.cs
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#region 文件信息
/*
* Copyright (c) 2013,武漢聯綿信息技術有限公司鄭州分公司
* All rights reserved.
*
* 文件名称:UserLoginLogMgr.cs
* 摘 要:
* 會員登入記錄與資料庫交互方法
* 当前版本:v1.2
* 作 者: dongya0410j
* 完成日期:2014/6/20
* 修改歷史:
* v1.1修改日期:2014/9/23
* v1.1修改人員:changjian0408j
* v1.1修改内容:在抛出異常的時候將Sql語句抛出,合并代碼,添加注釋
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL.gigade.Mgr.Impl;
using BLL.gigade.Dao.Impl;
using BLL.gigade.Dao;
using BLL.gigade.Model.Query;
using BLL.gigade.Common;
namespace BLL.gigade.Mgr
{
public class UserLoginLogMgr : IUserLoginLogImplMgr
{
private IUserLoginLogImplDao _userLoginLog;
public UserLoginLogMgr(string connectionString)
{
_userLoginLog = new UserLoginLogDao(connectionString);
}
#region 會員登入記錄+List<UsersLoginQuery> Query(UsersLoginQuery store, out int totalCount)
public List<UsersLoginQuery> Query(UsersLoginQuery store, out int totalCount)
{
try
{
return _userLoginLog.Query(store, out totalCount);
}
catch (Exception ex)
{
throw new Exception("UserLoginLogMgr.Query-->" + ex.Message, ex);
}
}
public System.Data.DataTable GetUserInfo(int rid)
{
try
{
return _userLoginLog.GetUserInfo(rid);
}
catch (Exception ex)
{
throw new Exception("UserLoginLogMgr.GetUserInfo-->" + ex.Message, ex);
}
}
#endregion
}
}