TFS_ANTIGUO/SIGPC/AyADAL/FuncionesBLAggDAL.cs

33 lines
787 B
C#
Raw Permalink Normal View History

using System;
namespace AyADAL
{
public class FuncionesBLAggDAL
{
public static string OrderByASC(string p_strCampo)
{
return " ORDER BY " + p_strCampo + " ASC";
}
public static string OrderByDESC(string p_strCampo)
{
return " ORDER BY " + p_strCampo + " DESC";
}
public static string OrderBy(string p_strCampo)
{
return " ORDER BY " + p_strCampo;
}
public static string Limit(int intInfLimit, int intSupLimit)
{
return " LIMIT " + intInfLimit + ", " + intSupLimit;
}
public static string GroupBy(string p_strCampo)
{
return " GROUP BY " + p_strCampo;
}
}
}