/// <summary> /// Field assignments /// </summary> public static string Set(iFields pFields) { Fields fields = (Fields)pFields; return string.Join(_COMMA, from field in fields.Values select string.Format("`{0}`={1}", field.Name, field.Value)); }
/// <summary> /// List of fields for group by /// </summary> public static string Groups(string pTable, iFields pFields) { Fields fields = (Fields)pFields; return string.Join(_COMMA, from field in fields.Values select Field(pTable, field.Name)); }