24 references to KeyInfo
System.Data (24)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
581
using (IDataReader dataReader = sourceCommand.ExecuteReader(CommandBehavior.SchemaOnly | CommandBehavior.
KeyInfo
)){
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
353
using(IDataReader dataReader = command.ExecuteReader(behavior | CommandBehavior.SchemaOnly | CommandBehavior.
KeyInfo
)) {
524
behavior |= CommandBehavior.
KeyInfo
;
fx\src\data\System\Data\Odbc\OdbcCommand.cs (4)
585
if(localReader.IsBehavior(CommandBehavior.
KeyInfo
)) {
605
if(localReader.IsBehavior(CommandBehavior.
KeyInfo
) ||
647
if((localReader.IsBehavior(CommandBehavior.
KeyInfo
) || localReader.IsBehavior(CommandBehavior.SchemaOnly))
667
if(localReader.IsBehavior(CommandBehavior.
KeyInfo
) || _isPrepared) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (4)
196
if (IsCommandBehavior(CommandBehavior.
KeyInfo
)) {
1762
bool needkeyinfo = IsCommandBehavior(CommandBehavior.
KeyInfo
);
1825
if(IsCommandBehavior(CommandBehavior.
KeyInfo
))
1894
if (IsCommandBehavior(CommandBehavior.
KeyInfo
)) {
fx\src\data\System\Data\OleDb\OleDbCommand.cs (2)
1049
if ((0 != (CommandBehavior.
KeyInfo
& (this.commandBehavior ^ behavior))) || (_lastChangeID != changeid)) {
1224
bool keyInfo = (0 != (CommandBehavior.
KeyInfo
& this.commandBehavior));
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
358
CommandBehavior behavior = (MissingSchemaAction.AddWithKey != MissingSchemaAction) ? 0 : CommandBehavior.
KeyInfo
;
406
CommandBehavior behavior = (MissingSchemaAction.AddWithKey != MissingSchemaAction) ? 0 : CommandBehavior.
KeyInfo
;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (2)
98
_useIColumnsRowset = (0 != (CommandBehavior.
KeyInfo
& behavior));
2241
if (0 != (CommandBehavior.
KeyInfo
& behavior)) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (6)
5904
(System.Data.CommandBehavior.
KeyInfo
== (behavior & CommandBehavior.
KeyInfo
))) {
5910
if (System.Data.CommandBehavior.
KeyInfo
== (behavior & CommandBehavior.
KeyInfo
)) {
5931
if (System.Data.CommandBehavior.
KeyInfo
== (behavior & CommandBehavior.
KeyInfo
)) {
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (1)
283
using (SqlDataReader dataReader = sqlCommand.ExecuteReader(CommandBehavior.SchemaOnly | CommandBehavior.
KeyInfo
)){