Commit c2b71ee2 authored by Andres Käver's avatar Andres Käver
Browse files

db demo, slides

parent fc6e2bd3
using System.Collections.Generic;
namespace Domain
{
public class Homework
{
public int HomeworkId { get; set; }
public string Description { get; set; }
public ICollection<Grade> Grades { get; set; }
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
namespace Domain
{
public class Student
{
// PK - Primary Key
public int StudentId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public ICollection<Grade> Grades { get; set; }
public override string ToString()
{
return StudentId + " - " + FirstName + " " + LastName;
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment