comparison Source/DataAccess/SqlQueryParameterInfo.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }