src/Misc/EFTools/EntityDesignModel/EdmFeatureManager.cs
/// <summary>
///     Returns the FeatureState for the exposed foreign keys in the conceptual model feature
/// </summary>
Returns the FeatureState for the exposed foreign keys in the conceptual model feature
Returns the FeatureState for the exposed foreign keys in the conceptual model feature
internal static FeatureState GetForeignKeysInModelFeatureState(Version schemaVersion)
        {
            Debug.Assert(EntityFrameworkVersion.IsValidVersion(schemaVersion), "Invalid schema version.");
            return schemaVersion == EntityFrameworkVersion.Version1
                       ? FeatureState.VisibleButDisabled
                       : FeatureState.VisibleAndEnabled;
        }
internal static FeatureState GetForeignKeysInModelFeatureState ( Version schemaVersion ) { Debug . Assert ( EntityFrameworkVersion . IsValidVersion ( schemaVersion ) , " " ) ; return schemaVersion == EntityFrameworkVersion . Version1 ? FeatureState . VisibleButDisabled : FeatureState . VisibleAndEnabled ; }
Returns the FeatureState for the exposed foreign keys in the conceptual model feature
Returns the FeatureState for the exposed foreign keys in the conceptual model feature
schemaVersion
Version