Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Bazy2_PiotrBaran
- {
- class Program
- {
- static void Main(string[] args)
- {
- }
- }
- class Blog
- {
- public int BlogId { get; set; }
- public String Name { get; set; }
- public virtual List<Post> Posts { get; set; }
- }
- class Post
- {
- public int PostId { get; set; }
- public String Title { get; set; }
- public String Content { get; set; }
- public int BlogId { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement