Mercurial > pub > bltoolkit
annotate Source/DataAccess/PrimaryKeyAttribute.cs @ 8:a34cfdde80d6
removed strong signing
added FrameworkPathOverride for linux builds
author | cin |
---|---|
date | Wed, 29 Nov 2017 12:43:52 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 namespace BLToolkit.DataAccess | |
4 { | |
5 [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)] | |
6 public sealed class PrimaryKeyAttribute : Attribute | |
7 { | |
8 public PrimaryKeyAttribute() | |
9 { | |
10 _order = -1; | |
11 } | |
12 | |
13 public PrimaryKeyAttribute(int order) | |
14 { | |
15 _order = order; | |
16 } | |
17 | |
18 private readonly int _order; | |
19 public int Order | |
20 { | |
21 get { return _order; } | |
22 } | |
23 } | |
24 } |