refactoring the file name

This commit is contained in:
2016-09-05 11:54:49 +02:00
parent 80b91cf480
commit 183fcdc3b1
2 changed files with 12 additions and 13 deletions

View File

@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models
{
public partial class PostTag
{
[ForeignKey("PostId")]
public virtual Blog Post { get; set; }
public long PostId { get; set; }
public long TagId { get; set; }
}
}

View File

@ -1,13 +0,0 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models
{
public partial class Tagged
{
[ForeignKey("Blog.Id")]
public long postid { get; set; }
[ForeignKey("tag.Id")]
public long TagId { get; set; }
}
}