/// <exclude/>
 public ITableBuilder Apply(TableOption option, object[] value)
 {
     if (option.GetType() == typeof(TableOption) && ((TableOption)option) == TableOption.columns)
         return Columns(value.Select(o => o.ToString()).ToArray());
     else
         return ApplyToTable(option.FieldName(), string.Format("[{0}]", string.Join(",", value)));
 }
Пример #2
0
 /// <exclude/>
 public ITableBuilder Apply(TableOption option, object[] value)
 {
     if (option.GetType() == typeof(TableOption) && option == TableOption.Columns)
     {
         return(Columns(value.Select(o => o.ToString()).ToArray()));
     }
     else
     {
         return(ApplyToTable(option.FieldName(), $"[{string.Join(",", value)}]"));
     }
 }
Пример #3
0
 /// <exclude/>
 public ITableBuilder Apply(TableOption option, object value)
 {
     return(ApplyToTable(option.FieldName(), value));
 }
		/// <exclude/>
        public ITableBuilder Apply(TableOption option, object value)
        {
            return ApplyToTable(option.FieldName(), value);
        }