Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

23 lines
1.0 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="CommandBehavior.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
// <owner current="true" primary="false">[....]</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)
//
SingleRow = 8, // data, hint single row and single result, may affect database - doesn't apply to child(chapter) results
SequentialAccess = 0x10,
CloseConnection = 0x20,
}
}