Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
 /// <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));
 }