1
have a model:
public class TalaoCode : ITalaoCode
{
[Key]
public int TalaoCodeId { get; set; }
[DisplayName("Equipe")]
public int EquipeId { get; set; }
[DisplayName("Equipe")]
public virtual Equipe Equipe { get; set; }
}
See that I put the attribute DisplayName
in both, but when it is called in the view created by Scanfolding
default, it does not exist the text of DisplayName
and yes EquipeId
View created by Scanfolding
@Html.LabelFor(model => model.EquipeId, "EquipeId", new { @class = "control-label col-md-2" })
I’ve tried to use [Display(Name ="Equipe")]
but also without success. Always appears Equipeid
True, had not noticed, scanfolding louse.. rs
– Dorathoto