annotate Source/DataAccess/ParamDbTypeAttribute.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author |
cin |
date |
Fri, 28 Mar 2014 01:04:56 +0400 |
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 }
|