12 writes to Locale
PresentationFramework-SystemData (2)
SystemDataExtension.cs (2)
56table1.Locale = System.Globalization.CultureInfo.InvariantCulture; 61table2.Locale = System.Globalization.CultureInfo.InvariantCulture;
System.Data.Common (6)
System\Data\Common\DbProviderFactories.cs (1)
90DataTable toReturn = new DataTable(ProviderGroupColumnName) { Locale = CultureInfo.InvariantCulture };
System\Data\DataTableExtensions.cs (1)
119Locale = CultureInfo.CurrentCulture
System\Data\DataTableReader.cs (1)
713tempSchemaTable.Locale = System.Globalization.CultureInfo.InvariantCulture;
System\Data\DataView.cs (1)
1687dt.Locale = _table!.Locale;
System\Data\XMLSchema.cs (2)
1603table.Locale = new CultureInfo(value); 1607table.Locale = CultureInfo.InvariantCulture;
System.Data.Odbc (4)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (2)
69Locale = CultureInfo.InvariantCulture 168Locale = CultureInfo.InvariantCulture
System\Data\Odbc\OdbcDataReader.cs (1)
2187schematable.Locale = CultureInfo.InvariantCulture;
System\Data\Odbc\OdbcMetaDataFactory.cs (1)
1067resultTable.Locale = System.Globalization.CultureInfo.InvariantCulture;
31 references to Locale
System.Data.Common (31)
System\Data\Constraint.cs (1)
42CultureInfo locale = (Table != null ? Table.Locale : CultureInfo.CurrentCulture);
System\Data\ConstraintCollection.cs (4)
629int result = NamesEqual(constraint.ConstraintName, constraintName, false, _table.Locale); 672if (NamesEqual(name, ((Constraint)List[i]!).ConstraintName, true, _table.Locale) != 0) 677if (NamesEqual(name, MakeName(_defaultNameIndex), true, _table.Locale) != 0) 736if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true, _table.Locale) != 0)
System\Data\DataColumn.cs (1)
416((null != _table) ? _table.Locale : CultureInfo.CurrentCulture);
System\Data\DataColumnCollection.cs (3)
725NamesEqual(column.ColumnName, name, false, _table.Locale) != 0) 850if ((column == null) && NamesEqual(name, MakeName(_defaultNameIndex), true, _table.Locale) != 0) 917if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true, _table.Locale) != 0)
System\Data\DataRelationCollection.cs (2)
201if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID ||
System\Data\DataSet.cs (4)
3310if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID) 3326if (constraint.Table!.Locale.LCID != constraint.RelatedTable.Locale.LCID)
System\Data\DataTable.cs (5)
351info.AddValue("DataTable.LocaleLCID", Locale.LCID); 1193private CompareInfo CompareInfo => _compareInfo ??= Locale.CompareInfo; 1363CultureInfo culture = Locale; 1775CultureInfo currentLocale = Locale; 3218_hashCodeProvider = StringComparer.Create(Locale, true);
System\Data\DataView.cs (3)
323CultureInfo locale = (_table != null ? _table.Locale : CultureInfo.CurrentCulture); 436CultureInfo locale = (_table != null ? _table.Locale : CultureInfo.CurrentCulture); 1687dt.Locale = _table!.Locale;
System\Data\ForeignKeyConstraint.cs (2)
151if (Table.Locale.LCID != RelatedTable.Locale.LCID || Table.CaseSensitive != RelatedTable.CaseSensitive)
System\Data\Merger.cs (3)
427if (string.Compare(targetPKey[i].ColumnName, tablePKey[i].ColumnName, false, targetTable.Locale) != 0) 547if (0 != string.Compare(dest.ColumnName, src.ColumnName, false, dest.Table!.Locale)) 557if (0 != string.Compare(dest.ColumnName, src.ColumnName, false, dest.Table!.Locale))
System\Data\xmlsaver.cs (3)
1054if (dt.ShouldSerializeLocale() || !dt.Locale.Equals(CultureInfo.CurrentCulture)) 1056_dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dt.Locale.ToString()); 1779root.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, table.Locale.ToString());