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