annotate Source/DataAccess/ParamSizeAttribute.cs @ 6:11b6da379593
Исправлена странная ошибка при использовании OfType<...>().Where(...)
author |
cin |
date |
Mon, 05 Dec 2016 05:50:52 +0300 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 using System;
|
|
2
|
|
3 namespace BLToolkit.DataAccess
|
|
4 {
|
|
5 [AttributeUsage(AttributeTargets.Parameter)]
|
|
6 public class ParamSizeAttribute : Attribute
|
|
7 {
|
|
8 public ParamSizeAttribute(int size)
|
|
9 {
|
|
10 _size = size;
|
|
11 }
|
|
12
|
|
13 private readonly int _size;
|
|
14 public int Size
|
|
15 {
|
|
16 get { return _size; }
|
|
17 }
|
|
18 }
|
|
19 }
|