33 references to InvalidEnumerationValue
System.Data (33)
fx\src\data\System\Data\Common\AdapterUtil.cs (20)
425
return
InvalidEnumerationValue
(typeof(AcceptRejectRule), (int) value);
437
return
InvalidEnumerationValue
(typeof(CatalogLocation), (int) value);
446
return
InvalidEnumerationValue
(typeof(CommandBehavior), (int) value);
472
return
InvalidEnumerationValue
(typeof(CommandType), (int) value);
485
return
InvalidEnumerationValue
(typeof(ConflictOption), (int) value);
501
return
InvalidEnumerationValue
(typeof(DataRowState), (int) value);
516
return
InvalidEnumerationValue
(typeof(DataRowVersion), (int) value);
534
return
InvalidEnumerationValue
(typeof(IsolationLevel), (int) value);
547
return
InvalidEnumerationValue
(typeof(KeyRestrictionBehavior), (int) value);
561
return
InvalidEnumerationValue
(typeof(LoadOption), (int) value);
575
return
InvalidEnumerationValue
(typeof(MissingMappingAction), (int) value);
590
return
InvalidEnumerationValue
(typeof(MissingSchemaAction), (int) value);
605
return
InvalidEnumerationValue
(typeof(ParameterDirection), (int) value);
617
return
InvalidEnumerationValue
(typeof(PermissionState), (int) value);
631
return
InvalidEnumerationValue
(typeof(Rule), (int) value);
644
return
InvalidEnumerationValue
(typeof(SchemaType), (int) value);
660
return
InvalidEnumerationValue
(typeof(StatementType), (int) value);
675
return
InvalidEnumerationValue
(typeof(UpdateRowSource), (int) value);
690
return
InvalidEnumerationValue
(typeof(UpdateStatus), (int) value);
711
return
InvalidEnumerationValue
(typeof(Microsoft.SqlServer.Server.Format), (int) value);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (4)
457
throw ADP.
InvalidEnumerationValue
(typeof(ApplicationIntent), (int)eValue);
582
throw ADP.
InvalidEnumerationValue
(typeof(ApplicationIntent), (int)eValue);
776
throw ADP.
InvalidEnumerationValue
(typeof(SqlAuthenticationMethod), (int)eValue);
839
throw ADP.
InvalidEnumerationValue
(typeof(SqlConnectionColumnEncryptionSetting), (int)eValue);
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
103
return ADP.
InvalidEnumerationValue
(typeof(OdbcType), (int) odbctype);
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (1)
215
return ADP.
InvalidEnumerationValue
(typeof(OleDbType), (int)value);
fx\src\data\System\Data\Sql\SqlMetaData.cs (1)
571
throw ADP.
InvalidEnumerationValue
(typeof(SqlCompareOptions), (int)compareOptions);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (4)
327
throw ADP.
InvalidEnumerationValue
(typeof(ApplicationIntent), (int)value);
384
throw ADP.
InvalidEnumerationValue
(typeof(PoolBlockingPeriod), (int)value);
478
throw ADP.
InvalidEnumerationValue
(typeof(SqlConnectionColumnEncryptionSetting), (int)value);
568
throw ADP.
InvalidEnumerationValue
(typeof(SqlAuthenticationMethod), (int)value);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (2)
460
return ADP.
InvalidEnumerationValue
(typeof(SqlDbType), (int) value);
675
return ADP.
InvalidEnumerationValue
(typeof(SortOrder), (int)order);