Here is my essence:
[Table( Name = "PdfMeta" )] public class Meta { [Key()] public int Id { get; set; } [Column(Name = "TotalPages")] public int TotalPages { get; set; } [Column(Name = "PdfPath")] public string PdfUri { get; set; } [Column(Name = "ImagePath")] public string ImageUri { get; set; } [Column(Name = "SplittedPdfPath")] public string SplittedFolderUri { get; set; } }
Here is the code from the context:
public DbSet<Meta> PdfMeta { get; set; }
Why is the new table (Metas) created using ImageUri, PdfUri ... columns? I know that this was done by convention, but I clearly indicated the table and columns.
source share