src/Misc/EFTools/EntityDesignerVersioningFacade/SchemaManager.cs
// <summary>
//     Given a namespace, determine the schema version
// </summary>
Given a namespace, determine the schema version
Given a namespace determine the schema version
internal static Version GetSchemaVersion(XNamespace xNamespace)
        {
            Version schemaVersion;
            return xNamespace != null && NamespaceToVersionReverseLookUp.TryGetValue(xNamespace, out schemaVersion)
                       ? schemaVersion
                       : EntityFrameworkVersion.Version1;
        }
internal static Version GetSchemaVersion ( XNamespace xNamespace ) { Version schemaVersion ; return xNamespace != null && NamespaceToVersionReverseLookUp . TryGetValue ( xNamespace , out schemaVersion ) ? schemaVersion : EntityFrameworkVersion . Version1 ; }
Given a namespace, determine the schema version
Given a namespace determine the schema version
// TODO: Returing V1 if the namespace not found feels wrong. Investigate where it is used and return null (or throw?) // Note that throwing from this method can crash VS if the exception is not handled.
xNamespace
XNamespace