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
| using System;
| using System.Collections.Generic;
| using System.Text;
|
| namespace DbAccess
| {
| public class SysSqlHelper
| {
| /// <summary>
| /// 创建数据库连接类
| /// </summary>
| /// <returns></returns>
| public static ISysSqlHelper CreateSqlHelper()
| {
| return new MySqlHelper();
| }
| /// <summary>
| /// 创建数据库连接
| /// </summary>
| /// <param name="module"></param>
| /// <returns></returns>
| public static ISysSqlHelper CreateSqlHelper(string module)
| {
| return new MySqlHelper(module);
| }
|
| }
| }
|
|