public class Address : Entity
{
[Required]
public string AddressName { get; set; }
public string AddressLine { get; set; }
public virtual User UserNagation { get; set; }
}
one to many
using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;using System.Text;namespace Cy