src/Shared/EntityFramework/Core/EntityClient/Internal/EntityProviderServices.cs
// <summary>
// Ensures that the data space of the specified command tree is the model (C-) space
// </summary>
// <param name="commandTree"> The command tree for which the data space should be validated </param>
Ensures that the data space of the specified command tree is the model (C-) space
Ensures that the data space of the specified command tree is the model ( C - ) space
internal override void ValidateDataSpace(DbCommandTree commandTree)
        {
            DebugCheck.NotNull(commandTree);
            if (commandTree.DataSpace != DataSpace.CSpace)
            {
                throw new ProviderIncompatibleException(Strings.EntityClient_RequiresNonStoreCommandTree);
            }
        }
internal override void ValidateDataSpace ( DbCommandTree commandTree ) { DebugCheck . NotNull ( commandTree ) ; if ( commandTree . DataSpace != DataSpace . CSpace ) { throw new ProviderIncompatibleException ( Strings . EntityClient_RequiresNonStoreCommandTree ) ; } }
Ensures that the data space of the specified command tree is the model (C-) space
Ensures that the data space of the specified command tree is the model ( C - ) space
commandTree
DbCommandTree
The command tree for which the data space should be validated
The command tree for which the data space should be validated