refactoring the file name

main
Paul Schneider 9 years ago
parent 80b91cf480
commit 183fcdc3b1
2 changed files with 12 additions and 13 deletions

@ -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; }
}
}

@ -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; }
}
}
Loading…