annotate Tools/DocGen/Content/Doc/DataAccess/ScalarSource.htm @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <% group # Abstract accessor attributes %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 <p class='j'>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 If a method returns a scalar value, this attribute can be used to specify how database returns this value.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 The <b>ScalarSource</b> attribute take a parameter of the <b>ScalarSourceType</b> type:
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 <table class='data'>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 <tr><th>ScalarSourceType</th><th>Description</th></tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 <tr><td>DataReader</td><td>Calls the <b>DbManager.ExecuteReader</b> method, and then calls <b>IDataReader.GetValue</b> method to read the value.</td></tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 <tr><td>OutputParameter</td><td>Calls the <b>DbManager.ExecuteNonQuery</b> method, and then reads value from the <b>IDbDataParameter.Value</b> property.</td></tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 <tr><td>ReturnValue</td><td>Calls the <b>DbManager.ExecuteNonQuery</b> method, and then reads return value from command parameter collection.</td></tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 <tr><td>AffectedRows</td><td>Calls the <b>DbManager.ExecuteNonQuery</b> method, and then returns its return value.</td></tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 </table>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 </p>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 ScalarSource.cs
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 <% ..\..\..\HowTo\DataAccess\ScalarSource.cs %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 App.config
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 <% Doc\Data\App.config %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 <a href="../Data/CreateSql.htm">Create.sql script</a>