comparison Source/DataAccess/DataSetTableAttribute.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 using BLToolkit.Common;
4
5 namespace BLToolkit.DataAccess
6 {
7 [AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
8 public class DataSetTableAttribute : Attribute
9 {
10 public DataSetTableAttribute()
11 {
12 }
13
14 public DataSetTableAttribute(string name)
15 {
16 _nameOrIndex = name;
17 }
18
19 public DataSetTableAttribute(int index)
20 {
21 _nameOrIndex = index;
22 }
23
24 private NameOrIndexParameter _nameOrIndex;
25 public NameOrIndexParameter NameOrIndex
26 {
27 get { return _nameOrIndex; }
28 set { _nameOrIndex = value; }
29 }
30 }
31 }