Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 601 Bytes
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace RelationScaffolding.WebTests.Models
{
public class Enrollment
{
[Key]
public int Identification { get; set; }
public int CourseId { get; set; }
public int StudentId { get; set; }
[RelationScaffolding.RelationDisplay]
[RelationScaffolding.Relation]
public virtual Course Course { get; set; }
[RelationScaffolding.Relation]
public virtual Student Student { get; set; }
}
}