Example #1
0
        public string GetSql(SqlTable table)
        {
            string name = table.Translate(column);
            string dir  = asc ? "asc" : "desc";

            return(string.Format("[{0}] {1}", name, dir));
        }
Example #2
0
		public string GetSql(SqlTable table)
		{
			string name = table.Translate(column);
			string dir = asc ? "asc" : "desc";
			return string.Format("[{0}] {1}", name, dir);
		}