annotate Source/DataAccess/ParamTypeNameAttribute.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author |
cin |
date |
Tue, 10 Mar 2015 16:02:11 +0300 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 using System;
|
|
2
|
|
3 namespace BLToolkit.DataAccess
|
|
4 {
|
|
5 [AttributeUsage(AttributeTargets.Parameter)]
|
|
6 public class ParamTypeNameAttribute : Attribute
|
|
7 {
|
|
8 public ParamTypeNameAttribute(string typeName)
|
|
9 {
|
|
10 _typeName = typeName;
|
|
11 }
|
|
12
|
|
13 private readonly string _typeName;
|
|
14 public string TypeName
|
|
15 {
|
|
16 get { return _typeName; }
|
|
17 }
|
|
18 }
|
|
19 } |