Example #1
0
        static string GetFromStr(Sql.From from)
        {
            switch (from)
            {
            case Sql.From.None:
                break;

            case Sql.From.First:
                return("FROM FIRST");

            case Sql.From.Last:
                return("FROM LAST");

            default:
                throw new ArgumentOutOfRangeException();
            }
            return(string.Empty);
        }
Example #2
0
 public static IAggregateFunctionSelfContained <T> NthValue <T>(this Sql.ISqlExtension ext, [ExprParameter] T expr, [ExprParameter] long n, Sql.From from, Sql.Nulls nulls)
 {
     throw new NotImplementedException();
 }