I\'m working with MVC 4 and I have to update my database using Code First Migrations. What I\'m trying to do is to select records from a database table, and insert them int
var query = dba.blob.Select(delegate(blob c)
{
return new SelectListItem
{
Value = c.id.ToString(),
Text = c.name_company,
Selected = c.id.Equals(3)
};
});