Added constructors to the entities
This commit is contained in:
@@ -14,5 +14,14 @@ namespace BrightGlimmer.Domain
|
||||
|
||||
public Student Student { get; set; }
|
||||
public Course Course { get; set; }
|
||||
|
||||
private AssignedCourse() { }
|
||||
|
||||
public AssignedCourse(decimal grade, bool isActive, string term)
|
||||
{
|
||||
Grade = grade;
|
||||
IsActive = isActive;
|
||||
Term = term;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user