view Source/Data/ScalarSourceType.cs @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +0400
parents f990fcb411a9
children
line wrap: on
line source

namespace BLToolkit.Data
{
	/// <summary>
	/// Defines the method how a scalar value is returned from the server.
	/// </summary>
	public enum ScalarSourceType
	{
		/// <summary>
		/// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteReader()"/>
		/// then <see cref="System.Data.IDataReader"/>.<see cref="System.Data.IDataReader.GetValue(int)"/>.
		/// </summary>
		DataReader,

		/// <summary>
		/// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
		/// An output parameter <see cref="System.Data.IDbDataParameter.Value"/> is used.
		/// </summary>
		OutputParameter,

		/// <summary>
		/// A call to <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
		/// The return parameter <see cref="System.Data.IDbDataParameter.Value"/> is used.
		/// </summary>
		ReturnValue,

		/// <summary>
		/// Same as <see cref="DbManager"/>.<see cref="DbManager.ExecuteNonQuery()"/>.
		/// Useful for an abstract <see cref="BLToolkit.DataAccess.DataAccessor"/>.
		/// </summary>
		AffectedRows,
	}
}