Catalog.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ReportServer.Models
  4. {
  5. public partial class Catalog
  6. {
  7. public Catalog()
  8. {
  9. DataSetItems = new HashSet<DataSet>();
  10. DataSetLinks = new HashSet<DataSet>();
  11. DataSources = new HashSet<DataSource>();
  12. InverseLinkSource = new HashSet<Catalog>();
  13. InverseParent = new HashSet<Catalog>();
  14. ModelDrillModels = new HashSet<ModelDrill>();
  15. ModelDrillReports = new HashSet<ModelDrill>();
  16. Subscriptions = new HashSet<Subscription>();
  17. }
  18. public Guid ItemId { get; set; }
  19. public string Path { get; set; } = null!;
  20. public string Name { get; set; } = null!;
  21. public Guid? ParentId { get; set; }
  22. public int Type { get; set; }
  23. public byte[]? Content { get; set; }
  24. public Guid? Intermediate { get; set; }
  25. public Guid? SnapshotDataId { get; set; }
  26. public Guid? LinkSourceId { get; set; }
  27. public string? Property { get; set; }
  28. public string? Description { get; set; }
  29. public bool? Hidden { get; set; }
  30. public Guid CreatedById { get; set; }
  31. public DateTime CreationDate { get; set; }
  32. public Guid ModifiedById { get; set; }
  33. public DateTime ModifiedDate { get; set; }
  34. public string? MimeType { get; set; }
  35. public int? SnapshotLimit { get; set; }
  36. public string? Parameter { get; set; }
  37. public Guid PolicyId { get; set; }
  38. public bool PolicyRoot { get; set; }
  39. public int ExecutionFlag { get; set; }
  40. public DateTime? ExecutionTime { get; set; }
  41. public string? SubType { get; set; }
  42. public Guid? ComponentId { get; set; }
  43. public virtual User CreatedBy { get; set; } = null!;
  44. public virtual Catalog? LinkSource { get; set; }
  45. public virtual User ModifiedBy { get; set; } = null!;
  46. public virtual Catalog? Parent { get; set; }
  47. public virtual Policy Policy { get; set; } = null!;
  48. public virtual CachePolicy? CachePolicy { get; set; }
  49. public virtual ICollection<DataSet> DataSetItems { get; set; }
  50. public virtual ICollection<DataSet> DataSetLinks { get; set; }
  51. public virtual ICollection<DataSource> DataSources { get; set; }
  52. public virtual ICollection<Catalog> InverseLinkSource { get; set; }
  53. public virtual ICollection<Catalog> InverseParent { get; set; }
  54. public virtual ICollection<ModelDrill> ModelDrillModels { get; set; }
  55. public virtual ICollection<ModelDrill> ModelDrillReports { get; set; }
  56. public virtual ICollection<Subscription> Subscriptions { get; set; }
  57. }
  58. }