Last active
November 25, 2020 04:42
-
-
Save Patrick-Ullrich/7fbc140fe2b58c1c8923b72e3481836e to your computer and use it in GitHub Desktop.
M2M-EF-Entities-Old
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Subscriber | |
{ | |
public int Id { get; set; } | |
public string Name { get; set; } | |
public int Age { get; set; } | |
public ICollection<Subscription> Subscriptions { get; set; } | |
} | |
public class Streamer | |
{ | |
public int Id { get; set; } | |
public string Name { get; set; } | |
public ICollection<Subscription> Subscriptions { get; set; } | |
} | |
public class Subscription | |
{ | |
public Streamer Streamer { get; set; } | |
public Subscriber Subscriber { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment