src/Shared/EntityFramework/Core/Metadata/Edm/ItemCollection.cs
/// <summary>
/// Returns an <see cref="T:System.Data.Entity.Core.Metadata.Edm.EntityContainer" /> object by using the specified entity container name.
/// </summary>
/// <returns>If there is no entity container, this method returns null; otherwise, it returns the first entity container.</returns>
/// <param name="name">The name of the entity container.</param>
/// <param name="ignoreCase">true to perform the case-insensitive search; otherwise, false.</param>
Returns an  object by using the specified entity container name.
Returns an object by using the specified entity container name .
public EntityContainer GetEntityContainer(string name, bool ignoreCase)
        {
            var container = GetValue(name, ignoreCase) as EntityContainer;
            if (null != container)
            {
                return container;
            }
            throw new ArgumentException(Strings.ItemInvalidIdentity(name), "name");
        }
public EntityContainer GetEntityContainer ( string name , bool ignoreCase ) { var container = GetValue ( name , ignoreCase ) as EntityContainer ; if ( null != container ) { return container ; } throw new ArgumentException ( Strings . ItemInvalidIdentity ( name ) , " " ) ; }
Returns an  object by using the specified entity container name.
Returns an object by using the specified entity container name .
If there is no entity container, this method returns null; otherwise, it returns the first entity container.
If there is no entity container this method returns null ; otherwise it returns the first entity container .
name
string
The name of the entity container.
The name of the entity container .
ignoreCase
bool
true to perform the case-insensitive search; otherwise, false.
true to perform the case - insensitive search ; otherwise false .