Mercurial > pub > bltoolkit
annotate Source/DataAccess/FormatAttribute.cs @ 3:1ef98bd70424
!bug 100 +3h
Исправление проблемы BLToolkit + mono 3.4
| author | cin | 
|---|---|
| date | Fri, 22 Aug 2014 17:34:46 +0400 | 
| parents | f990fcb411a9 | 
| children | 
| rev | line source | 
|---|---|
| 0 | 1 using System; | 
| 2 | |
| 3 namespace BLToolkit.DataAccess | |
| 4 { | |
| 5 [AttributeUsage(AttributeTargets.Parameter)] | |
| 6 public class FormatAttribute : NoMapAttribute | |
| 7 { | |
| 8 public FormatAttribute() | |
| 9 { | |
| 10 _index = int.MaxValue; | |
| 11 } | |
| 12 | |
| 13 public FormatAttribute(int index) | |
| 14 { | |
| 15 _index = index; | |
| 16 } | |
| 17 | |
| 18 private readonly int _index; | |
| 19 public int Index | |
| 20 { | |
| 21 get { return _index; } | |
| 22 } | |
| 23 } | |
| 24 } | 
