Code First Membership Provider before Migration

This commit is contained in:
2012-12-18 15:17:00 -05:00
parent 2bcca06b7e
commit 9f6e2a0702
12 changed files with 1224 additions and 10 deletions
+19
View File
@@ -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; }
}
}