Mercurial > pub > bltoolkit
comparison Source/Data/ScalarSourceType.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 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 } |