src/Shared/EntityFramework/Core/Objects/ObjectParameter.cs
// <summary>
// This internal method ensures that the specified type is a scalar
// type supported by the underlying provider by ensuring that scalar
// metadata for this type is retrievable.
// </summary>
This internal method ensures that the specified type is a scalar
type supported by the underlying provider by ensuring that scalar
metadata for this type is retrievable.
This internal method ensures that the specified type is a scalar type supported by the underlying provider by ensuring that scalar metadata for this type is retrievable .
internal bool ValidateParameterType(ClrPerspective perspective)
        {
            TypeUsage type;
            if ((perspective.TryGetType(_mappableType, out type))
                && (TypeSemantics.IsScalarType(type)))
            {
                return true;
            }
            return false;
        }
internal bool ValidateParameterType ( ClrPerspective perspective ) { TypeUsage type ; if ( ( perspective . TryGetType ( _mappableType , out type ) ) && ( TypeSemantics . IsScalarType ( type ) ) ) { return true ; } return false ; }
This internal method ensures that the specified type is a scalar
type supported by the underlying provider by ensuring that scalar
metadata for this type is retrievable.
This internal method ensures that the specified type is a scalar type supported by the underlying provider by ensuring that scalar metadata for this type is retrievable .
// The parameter type metadata is only valid if it's scalar or enumeration type metadata.
perspective
ClrPerspective