Mercurial > pub > bltoolkit
annotate Source/Mapping/ExpressionMapIgnoreAttribute.cs @ 6:11b6da379593
Исправлена странная ошибка при использовании OfType<...>().Where(...)
author | cin |
---|---|
date | Mon, 05 Dec 2016 05:50:52 +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 ExpressionMapIgnoreAttribute : Attribute | |
7 { | |
8 public ExpressionMapIgnoreAttribute() | |
9 { | |
10 Ignore = true; | |
11 } | |
12 | |
13 public ExpressionMapIgnoreAttribute(bool ignore) | |
14 { | |
15 Ignore = ignore; | |
16 } | |
17 | |
18 public bool Ignore { get; set; } | |
19 } | |
20 } |