Mercurial > pub > bltoolkit
annotate Source/DataAccess/ParamDbTypeAttribute.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 using System.Data; | |
3 | |
4 namespace BLToolkit.DataAccess | |
5 { | |
6 [AttributeUsage(AttributeTargets.Parameter)] | |
7 public class ParamDbTypeAttribute : Attribute | |
8 { | |
9 public ParamDbTypeAttribute(DbType dbType) | |
10 { | |
11 _dbType = dbType; | |
12 } | |
13 | |
14 private readonly DbType _dbType; | |
15 public DbType DbType | |
16 { | |
17 get { return _dbType; } | |
18 } | |
19 } | |
20 } |