Mercurial > pub > bltoolkit
comparison Source/Data/Sql/SqlProvider/SequenceNameAttribute.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.Data.Sql.SqlProvider | |
4 { | |
5 [AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)] | |
6 public class SequenceNameAttribute : Attribute | |
7 { | |
8 public SequenceNameAttribute(string providerName, string sequenceName) | |
9 { | |
10 ProviderName = providerName; | |
11 SequenceName = sequenceName; | |
12 } | |
13 | |
14 public SequenceNameAttribute(string sequenceName) | |
15 { | |
16 SequenceName = sequenceName; | |
17 } | |
18 | |
19 private string _providerName; public string ProviderName { get { return _providerName; } set { _providerName = value; } } | |
20 private string _sequenceName; public string SequenceName { get { return _sequenceName; } set { _sequenceName = value; } } | |
21 } | |
22 } |