Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

23 lines
1.1 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="CommandBehavior.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">markash</owner>
// <owner current="true" primary="false">laled</owner>
//------------------------------------------------------------------------------
namespace System.Data {
[Flags()]
public enum CommandBehavior {
Default = 0, // with data, multiple results, may affect database, MDAC 68240
SingleResult = 1, // with data, force single result, may affect database
SchemaOnly = 2, // column info, no data, no effect on database
KeyInfo = 4, // column info + primary key information (if available)
// UNDONE: SingleRow = 8 | SingleResult,
SingleRow = 8, // data, hint single row and single result, may affect database - doesn't apply to child(chapter) results
SequentialAccess = 0x10,
CloseConnection = 0x20,
}
}