src/Shared/EntityFramework/Core/SchemaObjectModel/SchemaManager.cs
// <summary>
// Add the namespace of the given schema to the namespace lookup table
// </summary>
Add the namespace of the given schema to the namespace lookup table
Add the namespace of the given schema to the namespace lookup table
public void AddSchema(Schema schema)
        {
            Debug.Assert(schema.DataModel == _dataModel, "DataModel must match");
            if (_namespaceLookUpTable.Count == 0
                && schema.DataModel != SchemaDataModelOption.ProviderManifestModel)
            {
                if (PrimitiveSchema.Namespace != null)
                {
                    _namespaceLookUpTable.Add(PrimitiveSchema.Namespace);
                }
            }
            _namespaceLookUpTable.Add(schema.Namespace);
        }
public void AddSchema ( Schema schema ) { Debug . Assert ( schema . DataModel == _dataModel , " " ) ; if ( _namespaceLookUpTable . Count == 0 && schema . DataModel != SchemaDataModelOption . ProviderManifestModel ) { if ( PrimitiveSchema . Namespace != null ) { _namespaceLookUpTable . Add ( PrimitiveSchema . Namespace ) ; } } _namespaceLookUpTable . Add ( schema . Namespace ) ; }
Add the namespace of the given schema to the namespace lookup table
Add the namespace of the given schema to the namespace lookup table
// Add the primitive type namespace to the namespace look up table // Add the namespace to the namespaceLookUpTable.  // Its okay to have multiple schemas with the same namespace
schema
Schema