53 references to _Data
System.Data.Common (53)
System\Data\DataException.cs (53)
458public static Exception DuplicateConstraint(string constraint) => _Data(SR.Format(SR.DataConstraint_Duplicate, constraint)); 498public static Exception NullKeyValues(string column) => _Data(SR.Format(SR.DataColumn_NullKeyValues, column)); 514public static Exception IComparableNotImplemented(string typeName) => _Data(SR.Format(SR.DataStorage_IComparableNotDefined, typeName)); 527public static Exception SetFailed(string name) => _Data(SR.Format(SR.DataView_SetFailed, name)); 528public static Exception SetDataSetFailed() => _Data(SR.DataView_SetDataSetFailed); 529public static Exception SetRowStateFilter() => _Data(SR.DataView_SetRowStateFilter); 530public static Exception CanNotSetDataSet() => _Data(SR.DataView_CanNotSetDataSet); 531public static Exception CanNotUseDataViewManager() => _Data(SR.DataView_CanNotUseDataViewManager); 532public static Exception CanNotSetTable() => _Data(SR.DataView_CanNotSetTable); 533public static Exception CanNotUse() => _Data(SR.DataView_CanNotUse); 534public static Exception CanNotBindTable() => _Data(SR.DataView_CanNotBindTable); 535public static Exception SetTable() => _Data(SR.DataView_SetTable); 537public static Exception AddNewNotAllowNull() => _Data(SR.DataView_AddNewNotAllowNull); 538public static Exception NotOpen() => _Data(SR.DataView_NotOpen); 540public static Exception CanNotDelete() => _Data(SR.DataView_CanNotDelete); 541public static Exception CanNotEdit() => _Data(SR.DataView_CanNotEdit); 602public static Exception InvalidRowVersion() => _Data(SR.DataRow_InvalidVersion); 608public static Exception RowAlreadyRemoved() => _Data(SR.DataRow_AlreadyRemoved); 609public static Exception MultipleParents() => _Data(SR.DataRow_MultipleParents); 680public static Exception AggregateException(AggregateType aggregateType, Type type) => _Data(SR.Format(SR.DataStorage_AggregateException, aggregateType, type.Name)); 681public static Exception InvalidStorageType(TypeCode typecode) => _Data(SR.Format(SR.DataStorage_InvalidStorageType, typecode.ToString())); 683public static Exception NullRange() => _Data(SR.Range_NullRange); 692public static Exception SimpleTypeNotSupported() => _Data(SR.Xml_SimpleTypeNotSupported); 694public static Exception MissingAttribute(string element, string attribute) => _Data(SR.Format(SR.Xml_MissingAttribute, element, attribute)); 695public static Exception InvalidAttributeValue(string name, string value) => _Data(SR.Format(SR.Xml_ValueOutOfRange, name, value)); 696public static Exception AttributeValues(string name, string value1, string value2) => _Data(SR.Format(SR.Xml_AttributeValues, name, value1, value2)); 697public static Exception ElementTypeNotFound(string name) => _Data(SR.Format(SR.Xml_ElementTypeNotFound, name)); 698public static Exception RelationParentNameMissing(string rel) => _Data(SR.Format(SR.Xml_RelationParentNameMissing, rel)); 699public static Exception RelationChildNameMissing(string rel) => _Data(SR.Format(SR.Xml_RelationChildNameMissing, rel)); 700public static Exception RelationTableKeyMissing(string rel) => _Data(SR.Format(SR.Xml_RelationTableKeyMissing, rel)); 701public static Exception RelationChildKeyMissing(string rel) => _Data(SR.Format(SR.Xml_RelationChildKeyMissing, rel)); 702public static Exception UndefinedDatatype(string name) => _Data(SR.Format(SR.Xml_UndefinedDatatype, name)); 703public static Exception DatatypeNotDefined() => _Data(SR.Xml_DatatypeNotDefined); 704public static Exception MismatchKeyLength() => _Data(SR.Xml_MismatchKeyLength); 705public static Exception InvalidField(string name) => _Data(SR.Format(SR.Xml_InvalidField, name)); 706public static Exception InvalidSelector(string name) => _Data(SR.Format(SR.Xml_InvalidSelector, name)); 707public static Exception CircularComplexType(string name) => _Data(SR.Format(SR.Xml_CircularComplexType, name)); 708public static Exception CannotInstantiateAbstract(string name) => _Data(SR.Format(SR.Xml_CannotInstantiateAbstract, name)); 709public static Exception InvalidKey(string name) => _Data(SR.Format(SR.Xml_InvalidKey, name)); 710public static Exception DiffgramMissingSQL() => _Data(SR.Xml_MissingSQL); 711public static Exception DuplicateConstraintRead(string str) => _Data(SR.Format(SR.Xml_DuplicateConstraint, str)); 712public static Exception ColumnTypeConflict(string name) => _Data(SR.Format(SR.Xml_ColumnConflict, name)); 713public static Exception CannotConvert(string name, string? type) => _Data(SR.Format(SR.Xml_CannotConvert, name, type)); 714public static Exception MissingRefer(string name) => _Data(SR.Format(SR.Xml_MissingRefer, Keywords.REFER, Keywords.XSD_KEYREF, name)); 715public static Exception InvalidPrefix(string name) => _Data(SR.Format(SR.Xml_InvalidPrefix_SpecialCharacters, name)); 717public static Exception IsDataSetAttributeMissingInSchema() => _Data(SR.Xml_IsDataSetAttributeMissingInSchema); 718public static Exception TooManyIsDataSetAttributesInSchema() => _Data(SR.Xml_TooManyIsDataSetAttributesInSchema); 721public static Exception NestedCircular(string name) => _Data(SR.Format(SR.Xml_NestedCircular, name)); 722public static Exception MultipleParentRows(string tableQName) => _Data(SR.Format(SR.Xml_MultipleParentRows, tableQName)); 734public static Exception DuplicateDeclaration(string name) => _Data(SR.Format(SR.Xml_MergeDuplicateDeclaration, name)); 737public static Exception FoundEntity() => _Data(SR.Xml_FoundEntity); 738public static Exception MergeFailed(string name) => _Data(name); 741public static Exception ConvertFailed(Type type1, Type type2) => _Data(SR.Format(SR.SqlConvert_ConvertFailed, type1.FullName, type2.FullName));