17 references to KeyInfo
System.Data.Common (3)
System\Data\Common\DBCommandBuilder.cs (1)
650using (DbDataReader dataReader = sourceCommand.ExecuteReader(CommandBehavior.SchemaOnly | CommandBehavior.KeyInfo))
System\Data\Common\DbDataAdapter.cs (2)
419using (IDataReader dataReader = command.ExecuteReader(behavior | CommandBehavior.SchemaOnly | CommandBehavior.KeyInfo)) 626behavior |= CommandBehavior.KeyInfo;
System.Data.Odbc (8)
System\Data\Odbc\OdbcCommand.cs (4)
635if (localReader.IsBehavior(CommandBehavior.KeyInfo)) 659if (localReader.IsBehavior(CommandBehavior.KeyInfo) || 703if ((localReader.IsBehavior(CommandBehavior.KeyInfo) || localReader.IsBehavior(CommandBehavior.SchemaOnly)) 729if (localReader.IsBehavior(CommandBehavior.KeyInfo) || _isPrepared)
System\Data\Odbc\OdbcDataReader.cs (4)
222if (IsCommandBehavior(CommandBehavior.KeyInfo)) 2003bool needkeyinfo = IsCommandBehavior(CommandBehavior.KeyInfo); 2069if (IsCommandBehavior(CommandBehavior.KeyInfo)) 2150if (IsCommandBehavior(CommandBehavior.KeyInfo))
System.Data.OleDb (6)
OleDbCommand.cs (2)
1134if ((0 != (CommandBehavior.KeyInfo & (this.commandBehavior ^ behavior))) || (_lastChangeID != changeid)) 1322bool keyInfo = (0 != (CommandBehavior.KeyInfo & this.commandBehavior));
OleDbDataAdapter.cs (2)
333CommandBehavior behavior = (MissingSchemaAction.AddWithKey != MissingSchemaAction) ? 0 : CommandBehavior.KeyInfo; 387CommandBehavior behavior = (MissingSchemaAction.AddWithKey != MissingSchemaAction) ? 0 : CommandBehavior.KeyInfo;
OleDbDataReader.cs (2)
89_useIColumnsRowset = (0 != (CommandBehavior.KeyInfo & behavior)); 2495if (0 != (CommandBehavior.KeyInfo & behavior))