Code First Membership Provider before Migration
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MileageTraker.Web.Models
|
||||
{
|
||||
public class Role
|
||||
{
|
||||
[Key]
|
||||
public virtual Guid RoleId { get; set; }
|
||||
|
||||
[Required]
|
||||
public virtual string RoleName { get; set; }
|
||||
|
||||
public virtual string Description { get; set; }
|
||||
|
||||
public virtual ICollection<User> Users { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user