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
| using System.Data;
|
| namespace Common
| {
| public class SqlParam
| {
| public string FieldName
| {
| get;
| set;
| }
|
| public DbType DataType
| {
| get;
| set;
| }
|
| public object FiledValue
| {
| get;
| set;
| }
|
| public SqlParam()
| {
| }
|
| public SqlParam(string _FieldName, object _FiledValue)
| : this(_FieldName, DbType.AnsiString, _FiledValue)
| {
| }
|
| public SqlParam(string _FieldName, DbType _DbType, object _FiledValue)
| {
| this.FieldName = _FieldName;
| this.DataType = _DbType;
| this.FiledValue = _FiledValue;
| }
| }
| }
|
|