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