Mercurial > pub > bltoolkit
annotate Source/DataAccess/NoMapAttribute.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 namespace BLToolkit.DataAccess | |
4 { | |
5 [AttributeUsage(AttributeTargets.Parameter)] | |
6 public class NoMapAttribute : Attribute | |
7 { | |
8 public NoMapAttribute() | |
9 { | |
10 _noMap = true; | |
11 } | |
12 | |
13 public NoMapAttribute(bool noMap) | |
14 { | |
15 _noMap = noMap; | |
16 } | |
17 | |
18 private bool _noMap; | |
19 public bool NoMap | |
20 { | |
21 get { return _noMap; } | |
22 set { _noMap = value; } | |
23 } | |
24 } | |
25 } | |
26 |