comparison Source/DataAccess/SqlIgnoreAttribute.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 System;
2
3 namespace BLToolkit.DataAccess
4 {
5 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
6 public class SqlIgnoreAttribute : Attribute
7 {
8 public SqlIgnoreAttribute()
9 {
10 _ignore = true;
11 }
12
13 public SqlIgnoreAttribute(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 }