0
|
1 namespace BLToolkit.Data
|
|
2 {
|
|
3 /// <summary>
|
|
4 /// Defines the method how a scalar value is returned from the server.
|
|
5 /// </summary>
|
|
6 public enum ScalarSourceType
|
|
7 {
|
|
8 /// <summary>
|
|
9 /// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteReader()"/>
|
|
10 /// then <see cref="System.Data.IDataReader"/>.<see cref="System.Data.IDataReader.GetValue(int)"/>.
|
|
11 /// </summary>
|
|
12 DataReader,
|
|
13
|
|
14 /// <summary>
|
|
15 /// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
|
|
16 /// An output parameter <see cref="System.Data.IDbDataParameter.Value"/> is used.
|
|
17 /// </summary>
|
|
18 OutputParameter,
|
|
19
|
|
20 /// <summary>
|
|
21 /// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
|
|
22 /// The return parameter <see cref="System.Data.IDbDataParameter.Value"/> is used.
|
|
23 /// </summary>
|
|
24 ReturnValue,
|
|
25
|
|
26 /// <summary>
|
|
27 /// Same as <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
|
|
28 /// Useful for an abstract <see cref="BLToolkit.DataAccess.DataAccessor"/>.
|
|
29 /// </summary>
|
|
30 AffectedRows,
|
|
31 }
|
|
32 }
|