I need a clarification, i went through different turorials on entity framework and implemented in my project.
Later when it came to security of application, i understood that parameterised queries are good for security.
My questions are :
- Will entity framwork automatically take care of parameterised queries
- If yes, where it is implemented?
- Is it implemeneted in context class like below?
modelBuilder.Entity<TriggerEvent>().HasKey(c => c.TriggerEventId)
.HasIndex("IX_TriggerEvent_LegacyName", IndexOptions.Unique,
e => e.Property(x => x.LegacyName))
.Map(m =>
{
m.MapInheritedProperties();
m.ToTable("refTriggerEvent", schemaName: "CaseManagement");
});