Mercurial > pub > bltoolkit
comparison Source/Data/Linq/MethodExpressionAttribute.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 namespace BLToolkit.Data.Linq | |
4 { | |
5 [AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] | |
6 public class MethodExpressionAttribute : Attribute | |
7 { | |
8 public MethodExpressionAttribute(string methodName) | |
9 { | |
10 MethodName = methodName; | |
11 } | |
12 | |
13 public MethodExpressionAttribute(string sqlProvider, string methodName) | |
14 { | |
15 SqlProvider = sqlProvider; | |
16 MethodName = methodName; | |
17 } | |
18 | |
19 public string SqlProvider { get; set; } | |
20 public string MethodName { get; set; } | |
21 } | |
22 } |