Example #1
0
        } //method

        private static void ThrowTranslationFailed(LinqCommand command, string message, params object[] args)
        {
            var msg = StringHelper.SafeFormat(message, args) + "\r\n Query:" + command.ToString();
            var exc = new LinqTranslationException(msg, command);

            throw exc;
        }
Example #2
0
 private static void ThrowTranslationFailed(LinqCommand command, string message, params object[] args)
 {
     var msg = StringHelper.SafeFormat(message, args) + "\r\n Query:" + command.ToString();
       var exc = new LinqTranslationException(msg, command);
       throw exc;
 }