コード例 #1
0
        protected override Expression VisitExtension(Expression extensionExpression)
        {
            if (extensionExpression is SqlExpression sqlExpression &&
                sqlExpression.TypeMapping == null)
            {
                throw new InvalidOperationException(CosmosStrings.NullTypeMappingInSqlTree(sqlExpression.Print()));
            }

            return(base.VisitExtension(extensionExpression));
        }