Mercurial > pub > bltoolkit
annotate Source/Mapping/DefaultMemberMapper.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 namespace BLToolkit.Mapping |
2 { | |
3 class DefaultMemberMapper : MemberMapper | |
4 { | |
5 public override bool SupportsValue | |
6 { | |
7 get { return false; } | |
8 } | |
9 | |
10 public override object GetValue(object o) | |
11 { | |
12 return MapTo(base.GetValue(o)); | |
13 } | |
14 | |
15 public override void SetValue(object o, object value) | |
16 { | |
17 base.SetValue(o, MapFrom(value)); | |
18 } | |
19 } | |
20 } |