Is it possible to return extra dynamic columns in Entity Framework with the FromSqlRaw
?
The basic concept would be something like this
var contacts = DbContext.Contacts.FromSqlRaw("Select *, 'Some Dyn Field' as Field1 From Contacts ");
How could I get access to Field1
? I have a much more complex process I am trying to solve but this is a general concept.