API to access MSL.
System.Data.Mapping.StorageMappingItemCollection doesn't provide useful public API.
Provide an access to the code-first metadata mapping.
The mapping is already described. Why not to provide a public access to a table name, schema, class property to table column mapping.
It will allow to build advanced SQL queries using Database.SqlQuery when performance is is needed. For example - bulk inserts in one query. Or other queries that don't require object state tracking. Currently you need to hard code schema, table and column names in a string, why not provide a way to build a query using defined mapping metadata?
Object model for mapping is now public in EF 6.1. This will be exposed in several places, including custom Code First conventions.
Alexander Becker commented
I need to get the database schema and column names of a code-first property for example.
This is absolutely the most important feature ever! The EF SQL generation will never be perfect. So why not giving us the ability to write custom SQL queries (if needed) and let EF map the result set to entities and then track them (if required). Something similar to SqlQuery () but just for object graphs.