4 writes to Locale
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
53
dataset.
Locale
= System.Globalization.CultureInfo.InvariantCulture;
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
2575
_ds!.
Locale
= new CultureInfo(value);
2579
_ds!.
Locale
= CultureInfo.InvariantCulture;
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
40
_metaDataCollectionsDataSet = new DataSet {
Locale
= CultureInfo.InvariantCulture };
21 references to Locale
System.Data.Common (21)
System\Data\DataRelation.cs (3)
364
CultureInfo locale = (_dataSet != null ? _dataSet.
Locale
: CultureInfo.CurrentCulture);
423
if (string.Compare(ChildTable.TableName, ChildTable.DataSet!.DataSetName, true, ChildTable.DataSet.
Locale
) == 0)
517
if (ChildTable.DataSet != null && (string.Compare(ChildTable.TableName, ChildTable.DataSet.DataSetName, true, ChildTable.DataSet.
Locale
) == 0))
System\Data\DataRelationCollection.cs (3)
342
int result = NamesEqual(relation.RelationName, name, false, GetDataSet().
Locale
);
401
CultureInfo locale = GetDataSet().
Locale
;
513
if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true, GetDataSet().
Locale
) != 0)
System\Data\DataSet.cs (1)
516
info.AddValue("DataSet.LocaleLCID",
Locale
.LCID);
System\Data\DataTable.cs (3)
1422
value = (null != _dataSet) ? _dataSet.
Locale
: _culture;
1789
if ((0 == string.Compare(value, _dataSet.DataSetName, true, _dataSet.
Locale
)) && !_fNestedInDataset)
6583
dataset.SetLocaleValue(ds.
Locale
, ds.ShouldSerializeLocale());
System\Data\DataTableCollection.cs (9)
156
if (table.SetLocaleValue(_dataSet.
Locale
, false, false) ||
298
if (NamesEqual(table.TableName, _dataSet.DataSetName, false, _dataSet.
Locale
) != 0 && !table._fNestedInDataset)
521
if (NamesEqual(table.TableName, name, true, _dataSet.
Locale
) == 1 && (ns == tableNamespace))
541
if (NamesEqual(table.TableName, name, true, _dataSet.
Locale
) == 1)
638
result = NamesEqual(table.TableName, tableName, false, _dataSet.
Locale
);
647
if (NamesEqual(dupTable.TableName, tableName, false, _dataSet.
Locale
) == 1)
675
result = NamesEqual(table.TableName, tableName, false, _dataSet.
Locale
);
739
CultureInfo locale = _dataSet.
Locale
;
841
if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true, _dataSet.
Locale
) != 0)
System\Data\xmlsaver.cs (2)
1034
if (dataSet.ShouldSerializeLocale() || !dataSet.
Locale
.Equals(CultureInfo.CurrentCulture))
1036
_dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dataSet.
Locale
.ToString());