Mercurial > pub > bltoolkit
annotate Source/Mapping/MapIgnoreAttribute.cs @ 7:99cd4f3947d8
Закомментированы строки мешающие добавлению авиа дежурств.
author | nickolay |
---|---|
date | Fri, 27 Oct 2017 18:26:29 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 namespace BLToolkit.Mapping | |
4 { | |
5 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] | |
6 public sealed class MapIgnoreAttribute : Attribute | |
7 { | |
8 public MapIgnoreAttribute() | |
9 { | |
10 _ignore = true; | |
11 } | |
12 | |
13 public MapIgnoreAttribute(bool ignore) | |
14 { | |
15 _ignore = ignore; | |
16 } | |
17 | |
18 private bool _ignore; | |
19 public bool Ignore | |
20 { | |
21 get { return _ignore; } | |
22 set { _ignore = value; } | |
23 } | |
24 } | |
25 } |