//[EnableInBuilder(BuilderType.WebForm, BuilderType.FilterDialog, BuilderType.BotForm, BuilderType.UserControl)] //public DateFormat DateFormat { get; set; } //[HideInPropertyGrid] //[EnableInBuilder(BuilderType.BotForm)] //public override bool IsReadOnly { get => this.IsDisable; } public override VendorDbType GetvDbType(IVendorDbTypes vDbTypes) { VendorDbType _vdbtype = vDbTypes.String; if (EbDateType == EbDateType.Date) { _vdbtype = vDbTypes.Date; } else if (EbDateType == EbDateType.DateTime) { _vdbtype = vDbTypes.DateTime; } else if (EbDateType == EbDateType.Time) { _vdbtype = vDbTypes.Time; } return(_vdbtype); }
public Dictionary <string, List <TableColumnMeta> > GetTableMetaCollection(IVendorDbTypes vDbTypes) { Dictionary <string, List <TableColumnMeta> > meta = new Dictionary <string, List <TableColumnMeta> >(); try { List <TableColumnMeta> metaList = new List <TableColumnMeta>(); metaList.Add(new TableColumnMeta { Name = "eb_device_id", Type = vDbTypes.String, Label = "Device Id" }); metaList.Add(new TableColumnMeta { Name = "eb_appversion", Type = vDbTypes.String, Label = "App Version" }); metaList.Add(new TableColumnMeta { Name = "eb_created_at_device", Type = vDbTypes.DateTime, Label = "Sync Time" }); meta.Add(this.TableName, metaList); } catch (Exception ex) { Console.WriteLine(ex.Message); } return(meta); }
public virtual VendorDbType GetvDbType(IVendorDbTypes vDbTypes) { return(vDbTypes.String); }
//private string MaxLengthString //{ // get { return ((this.MaxLength > 0) ? "$('#{0}').focus(function() {$(this).select();});".Replace("{0}", this.Name).Replace("{1}", this.Value.ToString()) : string.Empty); } //} public override VendorDbType GetvDbType(IVendorDbTypes vDbTypes) { return vDbTypes.Decimal; }