Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created May 22, 2017
Embed
What would you like to do?
[Table("Duties")]
public class Duty
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Description { get; set; }
public DateTime Deadline { get; set; }
[ForeignKey(typeof(Employee))]
public int EmployeeId { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment