Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. public partial class Country
  2. {
  3. public Country()
  4. {
  5. this.Entities = new HashSet<Entity>();
  6. }
  7.  
  8. public int country_id { get; set; }
  9. public string country_name { get; set; }
  10.  
  11. public virtual ICollection<Entity> Entities { get; set; }
  12. }
  13.  
  14. public partial class Sector
  15. {
  16. public Sector()
  17. {
  18. this.Entities = new HashSet<Entity>();
  19. }
  20.  
  21. public int sector_id { get; set; }
  22. public string sector_name { get; set; }
  23.  
  24. public virtual ICollection<Entity> Entities { get; set; }
  25. }
  26.  
  27. public partial class Entity
  28. {
  29. public Entity()
  30. {
  31. this.Entities_to_Indexes = new HashSet<Entities_to_Indexes>();
  32. this.StreamParameters_to_Entities = new HashSet<StreamParameters_to_Entities>();
  33. this.Tweets_to_Entities = new HashSet<Tweets_to_Entities>();
  34. }
  35.  
  36. public int entity_id { get; set; }
  37. public string entity_name { get; set; }
  38. public int sector_id { get; set; }
  39. public int country_id { get; set; }
  40.  
  41. public virtual Country Country { get; set; }
  42. public virtual Sector Sector { get; set; }
  43. public virtual ICollection<Entities_to_Indexes> Entities_to_Indexes { get; set; }
  44. public virtual ICollection<StreamParameters_to_Entities> StreamParameters_to_Entities { get; set; }
  45. public virtual ICollection<Tweets_to_Entities> Tweets_to_Entities { get; set; }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement