src/Misc/EFTools/EntityDesignDatabaseGeneration/MetadataWorkspaceExtensions.cs
/// <summary>
///     Retrieves the namespace of this ItemCollection by examining the first-found StructuralType
/// </summary>
/// <param name="itemCollection">The ItemCollection.</param>
/// <returns>The namespace as a string, or null if there are no StructuralTypes to retrieve the namespace</returns>
Retrieves the namespace of this ItemCollection by examining the first-found StructuralType
Retrieves the namespace of this ItemCollection by examining the first - found StructuralType
public static string GetNamespace(this ItemCollection itemCollection)
        {
            var edmType = itemCollection.GetItems<StructuralType>().FirstOrDefault();
            if (edmType == null)
            {
                return String.Empty;
            }
            return edmType.NamespaceName;
        }
public static string GetNamespace ( this ItemCollection itemCollection ) { var edmType = itemCollection . GetItems < StructuralType > ( ) . FirstOrDefault ( ) ; if ( edmType == null ) { return String . Empty ; } return edmType . NamespaceName ; }
Retrieves the namespace of this ItemCollection by examining the first-found StructuralType
Retrieves the namespace of this ItemCollection by examining the first - found StructuralType
The namespace as a string, or null if there are no StructuralTypes to retrieve the namespace
The namespace as a string or null if there are no StructuralTypes to retrieve the namespace
ItemCollection
this
itemCollection
None