Mercurial > pub > bltoolkit
comparison Source/DataAccess/ActionSprocNameAttribute.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.Class, AllowMultiple = true)] | |
6 public class ActionSprocNameAttribute : Attribute | |
7 { | |
8 public ActionSprocNameAttribute(string actionName, string procedureName) | |
9 { | |
10 _actionName = actionName; | |
11 _procedureName = procedureName; | |
12 } | |
13 | |
14 private readonly string _actionName; | |
15 public string ActionName | |
16 { | |
17 get { return _actionName; } | |
18 } | |
19 | |
20 private readonly string _procedureName; | |
21 public string ProcedureName | |
22 { | |
23 get { return _procedureName; } | |
24 } | |
25 } | |
26 } |