Zelort
Zelort
CC#
Created by Αμμάν Ριζουάν on 4/24/2025 in #help
✅ ASP.NET Core Web API Model Creation.
just add [ForeignKey] attribute in your field in model class, "varchar(100) " you can use this StringLength attribute: [StringLength(100)] public string Description { get; set; } = string.Empty;
16 replies