This commit is contained in:
parent
46f5c107b8
commit
fa34ed249b
233 changed files with 4000 additions and 1396 deletions
15
Yavsc/Model/Blog/BlogAccess.cs
Normal file
15
Yavsc/Model/Blog/BlogAccess.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
|
||||
public partial class BlogAccess
|
||||
{
|
||||
[ForeignKey("Blog.Id")]
|
||||
public long PostId { get; set; }
|
||||
|
||||
[ForeignKey("Circle.Id")]
|
||||
public long CircleId { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue