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