public class Blog { public int Id { get; set; } public DateTime Creationdate { get; set; } public string ShortDescription { get; set; } public string Title { get; set; } public string AboutTheAuthor { get; set; } } public class PictureBlog : Blog { public string PicDescription { get; set; } } public class VideoBlog : Blog { public string VideoDescription { get; set; } }
配置 TPH 形成的数据表:
配置 TPT 形成的数据表:
配置 TPC 形成的数据表:
时间: 2024-11-09 09:39:38