Fixes a typo in null concatenation logic and adds more tests
The Haacked Conundrum
Fix for issue https://entityframework.codeplex.com/workitem/2523
as reported by Phil Haack here:
https://github.com/aspnet/EntityFramework/issues/492
Change after CR to use ProviderInvariantName
Fix same issue in Functional tests
Fixing incorrect source dir for restoring local packages
Merge branch 'release-6.1.2-beta1'
Code Review: CodePlex 2480, 2481: Missing public surface needed to build models programatically.
Exposed publicly the EntityContainer constructor, the EntityContainer.AddEntitySetBase and MetadataProperty.CreateAnnotation.
CodePlex 2548: Absent join for one of the second-level linked entities.
PropertyOp needs to override IsEquivalent to compare the associated EdmMember.
Allow access to the Database class's underlying connection's transaction, if any.
Allow access to EntityConnection's CurrentTransaction by wrapping it in a DbContextTransaction.

Required caching of the Database instance of DbContext.
Required caching of the DbContextTransaction in Database to ensure same instance is returned each time.
Required caching of the EntityTransaction in Database to ensure the DbContextTransaction instance is properly invaidated.
Fix nit, add unit tests.
Adding FxCop Suppression
TheOptionThatTimeForgot
Fix for issue #2551
Fix for issue #2557: Query: Make GetMethod used in QueryableExtensions compatible with Roslyn C# compiler

Problem:
The GetMethod helper method used in QueryableExtension to initialize static fields with MethodInfos for the aggregate LINQ operators has a very rigid dependency on the internal implementation details of lambdas and that is causing the problems since those details have changed in Roslyn.

Solution:
Use DynamicInvoke to handle all implementations of the lambdas being used.
Merge remote-tracking branch 'origin/release-6.1.2-beta1'

Conflicts:
	src/EntityFramework/QueryableExtensions.cs
Fix for Issue 2554 - when cloning do not assume that SqlProviderServices is receiving a SqlCommand
Racing flags for Marty McFly - fix for #2445
The EF designer exposes a performance regression in Sql Server 2014 when an EDMX model is updated from the database. The regression was introduced in Sql Server 2014 by a change in their algorithm for cardinality estimation. Enabling flag 9481 changes the algorithm back to what it was in previous version of the product. This only affects the connection used by the EF designer.

Note that we're only enabling this flag for connections to Sql Server, determined by means of the provider invariant name. Given that this is a Sql Server flag, enabling against older versions of Sql Server won't have an effect nor will it return any error or warning. If a specified trace flag is not one that affects a query execution plan, the option will be silently ignored.
Fix for issue 203 - add suppression for some FxCop errors in generated code
Fixes EF designer test failures

The failure was introduced by changeset 6f4a59148c5c.
Merge branch 'master' of https://git01.codeplex.com/forks/ErikEJ/TheOptionThatTimeForgot into ErikEJ/TheOptionThatTimeForgot