For example:
namespace PizzaSoftware.Data
{
public class User
{
public string Username { get; set; }
public string Password { get; set; }
public Permission PermissionType { get; set; }
}
public enum Permission
{
Basic,
Administrator
}
}
If if I were to use Entity-Framework's CodeFirst, how can I save this value?
This is for a Windows Forms, Desktop application.
Thank you!