/// <summary> /// Constructor Columna por defecto /// </summary> /// <param name="args"></param> public SiteColumn(ParamsSiteColumnBaseExtended args) : this(args.Web,args.Logger) { Name = (args.AddPrefix) ? string.Concat(Constants.Prefix, args.Name) : args.Name; Type = args.FieldType; Required = args.Requiered; GroupName = args.Group; MultiValue = args.MultiValue; DisplayName = args.DisplayName; }
/// <summary> /// Constructor Fecha /// </summary> /// <param name="args"></param> /// <param name="date"></param> public SiteColumn(ParamsSiteColumnBaseExtended args, TypeDate date) : this(args) { Date = date; }
/// <summary> /// Constructur Columna Currency /// </summary> /// <param name="args"></param> /// <param name="currency"></param> public SiteColumn(ParamsSiteColumnBaseExtended args, int currency) :this(args) { Currency = currency; }
/// <summary> /// Constructor Columna Calculada /// </summary> /// <param name="args"></param> /// <param name="formula"></param> public SiteColumn(ParamsSiteColumnBaseExtended args, string formula): this(args) { Formula = formula; }