TFS_ANTIGUO/SIGPC/AyADAL/FuncionesBLAggDAL.cs
kledezma 7fdadc4709 KLB
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C519
2021-01-22 15:05:35 +00:00

32 lines
787 B
C#

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;
}
}
}