Policy.cs 815 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ReportServer.Models
  4. {
  5. public partial class Policy
  6. {
  7. public Policy()
  8. {
  9. Catalogs = new HashSet<Catalog>();
  10. ModelItemPolicies = new HashSet<ModelItemPolicy>();
  11. PolicyUserRoles = new HashSet<PolicyUserRole>();
  12. SecData = new HashSet<SecDatum>();
  13. }
  14. public Guid PolicyId { get; set; }
  15. public byte? PolicyFlag { get; set; }
  16. public virtual ICollection<Catalog> Catalogs { get; set; }
  17. public virtual ICollection<ModelItemPolicy> ModelItemPolicies { get; set; }
  18. public virtual ICollection<PolicyUserRole> PolicyUserRoles { get; set; }
  19. public virtual ICollection<SecDatum> SecData { get; set; }
  20. }
  21. }