0
|
1 using BLToolkit.Mapping;
|
|
2
|
|
3 namespace BLToolkit.DataAccess
|
|
4 {
|
|
5 public class SqlQueryParameterInfo
|
|
6 {
|
|
7 private string _parameterName;
|
|
8 public string ParameterName
|
|
9 {
|
|
10 get { return _parameterName; }
|
|
11 set { _parameterName = value; }
|
|
12 }
|
|
13
|
|
14 private string _fieldName;
|
|
15 public string FieldName
|
|
16 {
|
|
17 get { return _fieldName; }
|
|
18 set { _fieldName = value; }
|
|
19 }
|
|
20
|
|
21 private MemberMapper _memberMapper;
|
|
22 public MemberMapper MemberMapper
|
|
23 {
|
|
24 get { return _memberMapper; }
|
|
25 }
|
|
26
|
|
27 //NOTE Changed internal to public and added virtual
|
|
28 public virtual void SetMemberMapper(ObjectMapper objectMapper)
|
|
29 {
|
|
30 _memberMapper = objectMapper[_fieldName];
|
|
31 }
|
|
32 }
|
|
33 }
|