3 writes to _ds
System.Data (3)
fx\src\data\System\Data\xmlsaver.cs (3)
480
_ds
= ds;
489
_ds
= dt.DataSet;
804
_ds
= dt.DataSet;
56 references to _ds
System.Data (56)
fx\src\data\System\Data\xmlsaver.cs (56)
347
if((
_ds
!= null) && (HaveExtendedProperties(
_ds
))) {
507
if (
_ds
!= null) {
508
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(
_ds
.DataSetName));
513
if (
_ds
!= null) {
514
WriteSchemaRoot(xd, rootSchema,
_ds
.Namespace);
522
if (
_ds
!= null) {
523
namespaces[
_ds
.Namespace] = rootSchema;
531
if (
_ds
!= null) {
532
namespaces[
_ds
.Namespace] = rootSchema;
533
if (
_ds
.Namespace.Length == 0)
534
prefixes[
_ds
.Namespace] = null;
537
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace );
538
prefixes[
_ds
.Namespace] = "mstns";
571
AddXdoProperties(
_ds
, dsElement, xd );
591
if (
_ds
!= null) {
592
AddXdoProperties(
_ds
, dsElement, xd );
593
AddExtendedProperties(
_ds
.extendedProperties, dsElement);
599
if (((
_ds
!= null )&& (
_ds
.Namespace == top[i].Namespace)) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting)) {
602
if (((
_ds
!= null )&& (
_ds
.Namespace.Length != 0)) && Common.ADP.IsEmpty(top[i].Namespace)) {
630
if ((
_ds
!= null &&
_ds
.Namespace == top[i].Namespace) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting))
695
if (ns == ((
_ds
!= null) ?
_ds
.Namespace : _dt.Namespace) || Common.ADP.IsEmpty(ns)) {
721
if (ns == ((
_ds
!= null)?
_ds
.Namespace:_dt.Namespace) || Common.ADP.IsEmpty(ns)) {
760
if (imp_ns == ((
_ds
!= null)?
_ds
.Namespace:_dt.Namespace))
825
if (
_ds
!= null) {
826
namespaces[
_ds
.Namespace] = rootSchema;
827
if (
_ds
.Namespace.Length == 0) {
828
prefixes[
_ds
.Namespace] = null;
832
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS,
_ds
.Namespace );
833
prefixes[
_ds
.Namespace] = "mstns";
980
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ParentKey.Table.TableName) ==-3))
983
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(rel.ChildKey.Table.TableName) ==-3))
1194
tgNamespace =
_ds
.Namespace;
1280
if (col.Table.Namespace!=
_ds
.Namespace) {
1478
if (((table.DataSet == null) || (
_ds
!= null && table.Namespace !=
_ds
.Namespace)) && (schFormat == SchemaFormat.Remoting))
1490
tgNamespace = (
_ds
!= null) ?
_ds
.Namespace : "";
1567
if (
_ds
== null)
1570
typeSchema = fUnqualified ? GetSchema(
_ds
.Namespace): GetSchema(table.Namespace);
1707
String xpathprefix = (
_ds
!= null)? (
_ds
.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : String.Empty) : String.Empty;
1730
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) ==-3))
1802
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(table.TableName) ==-3))
1842
if ((
_ds
== null) || (
_ds
.Tables.InternalIndexOf(foreign.RelatedTable.TableName) == -3)) // if there is a conflicting name/namespace only