Mercurial > pub > bltoolkit
annotate Source/DataAccess/SprocNameAttribute.cs @ 9:1e85f66cf767 default tip
update bltoolkit
author | nickolay |
---|---|
date | Thu, 05 Apr 2018 20:53:26 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 namespace BLToolkit.DataAccess | |
4 { | |
5 [AttributeUsage(AttributeTargets.Method)] | |
6 public class SprocNameAttribute : Attribute | |
7 { | |
8 public SprocNameAttribute(string name) | |
9 { | |
10 _name = name; | |
11 } | |
12 | |
13 private readonly string _name; | |
14 public string Name | |
15 { | |
16 get { return _name; } | |
17 } | |
18 } | |
19 } |