24 references to UndefinedVersion
System.Data.Entity (24)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (4)
49
private double _schemaVersion = XmlConstants.
UndefinedVersion
;
317
Debug.Assert(this.SchemaVersion >= XmlConstants.EdmVersionForV2 || SchemaVersion == XmlConstants.
UndefinedVersion
, "Have you added a new Edm Version?");
373
double schemaVersion = SchemaVersion == XmlConstants.
UndefinedVersion
? XmlConstants.SchemaVersionLatest : SchemaVersion;
379
if (SchemaVersion == XmlConstants.
UndefinedVersion
)
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (4)
48
private double effectiveSchemaVersion = XmlConstants.
UndefinedVersion
;
166
Debug.Assert(schemaCollection.All(s => s.SchemaVersion == currentSchemaVersion || s.SchemaVersion != XmlConstants.
UndefinedVersion
));
276
if (schemaToBeAdded.SchemaVersion != XmlConstants.
UndefinedVersion
&& schemaCollection.Count() > 0)
278
if (schemaCollection.Any(s => s.SchemaVersion != XmlConstants.
UndefinedVersion
&& s.SchemaVersion != schemaToBeAdded.SchemaVersion))
System\Data\Mapping\StorageMappingItemCollection.cs (8)
41
private double m_mappingVersion = XmlConstants.
UndefinedVersion
;
213
if(this.m_edmCollection.EdmVersion != XmlConstants.
UndefinedVersion
&&
214
this.m_storeItemCollection.StoreSchemaVersion != XmlConstants.
UndefinedVersion
&&
224
double expectedVersion = this.m_edmCollection.EdmVersion != XmlConstants.
UndefinedVersion
837
if (m_mappingVersion == XmlConstants.
UndefinedVersion
)
841
if (expectedVersion != XmlConstants.
UndefinedVersion
&& currentLoaderVersion != XmlConstants.
UndefinedVersion
&& currentLoaderVersion != expectedVersion)
849
if (currentLoaderVersion != m_mappingVersion && currentLoaderVersion != XmlConstants.
UndefinedVersion
)
System\Data\Metadata\EdmItemCollection.cs (1)
178
private Double _edmVersion = XmlConstants.
UndefinedVersion
;
System\Data\Metadata\MetadataWorkspace.cs (6)
124
private double _schemaVersion = XmlConstants.
UndefinedVersion
;
134
yield return XmlConstants.
UndefinedVersion
;
214
.Where(e => e != XmlConstants.
UndefinedVersion
)
296
double versionToRegister = XmlConstants.
UndefinedVersion
;
318
versionToRegister != XmlConstants.
UndefinedVersion
&&
319
this._schemaVersion != XmlConstants.
UndefinedVersion
)
System\Data\Metadata\StoreItemCollection.cs (1)
28
double _schemaVersion = XmlConstants.
UndefinedVersion
;