Advertisement
Guest User

Untitled

a guest
May 29th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.90 KB | None | 0 0
  1.     public partial class Dashboard
  2.     {
  3.         [Key]
  4.         public int DashboardID { get; set; }
  5.         [MaxLength(50)]
  6.         public string DashboardName { get; set; }
  7.         public virtual ICollection<DashboardWidgetConfig> Configs { get; set; }
  8.     }
  9.  
  10.     public partial class DashboardWidget
  11.     {
  12.         [Key]
  13.         public int WidgetID { get; set; }
  14.         [MaxLength(50)]
  15.         public string WidgetName { get; set; }
  16.         public virtual ICollection<DashboardWidgetConfig> Configs { get; set; }
  17.     }
  18.  
  19.     public partial class DashboardWidgetConfig
  20.     {
  21.         [Key]
  22.         public int WidgetConfigID { get; set; }
  23.         [MaxLength(50)]
  24.         public string WidgetConfigName { get; set; }
  25.         public int DashboardID { get; set; }
  26.         public int DashboardRow { get; set; }
  27.         public int RowPosition { get; set; }
  28.         public int WidgetID { get; set; }
  29.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement