1 write to SchemaXmlNamespace
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
175
this.
SchemaXmlNamespace
= sourceReader.NamespaceURI;
9 references to SchemaXmlNamespace
System.Data.Entity (9)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (8)
178
if (this.
SchemaXmlNamespace
== XmlConstants.ModelNamespace_1)
182
else if (this.
SchemaXmlNamespace
== XmlConstants.ModelNamespace_1_1)
186
else if (this.
SchemaXmlNamespace
== XmlConstants.ModelNamespace_2)
192
Debug.Assert(this.
SchemaXmlNamespace
== XmlConstants.ModelNamespace_3, "Unknown namespace in CSDL");
198
if (this.
SchemaXmlNamespace
== XmlConstants.TargetNamespace_1)
202
else if (this.
SchemaXmlNamespace
== XmlConstants.TargetNamespace_2)
208
Debug.Assert(this.
SchemaXmlNamespace
== XmlConstants.TargetNamespace_3, "Unknown namespace in SSDL");
223
AddError(ErrorCode.UnexpectedXmlElement, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.UnexpectedRootElement(sourceReader.NamespaceURI, sourceReader.LocalName,
SchemaXmlNamespace
));
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
763
return reader.NamespaceURI == Schema.
SchemaXmlNamespace
&& reader.LocalName == localName;