using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace WpfApp1 { [Table("Roles")] public class Role { public int Id { get; set; } [Required] public string Name { get; set; } public List Users { get; set; } } }