annotate Source/DataAccess/ScalarAttribute.cs @ 4:f757da6161a1

!bug 100 + 2h fixed gregression
author cin
date Sun, 24 Aug 2014 17:57:42 +0400
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 using System;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 namespace BLToolkit.DataAccess
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 /// <summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 /// This attribute is used to represent that a type is a UDT type linked to a UDT Type in the DB (Used most commanly in Oracle)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 ///
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 /// Without this attribute if you try to use the code generation method to call a Stored Procedure in the DB and try to pass the UDT as a parm
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 /// BLToolkit will flaten the object and cause error's
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 ///
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 /// Another solution is to convert your UDT to a Struct which also causes BLToolkits 'IsScaler()' Method to return true.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 /// </summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 public class ScalarAttribute : Attribute
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 }