0
|
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 }
|