I'm attempting to use entity framework to retrieve all entries from a database for alteration before sending them to the form.
var ptx = [modelname].[tablename](); ptx.[tablename].Select(????)
what is put in the???
I utilized the entitydatasource, and it provided all the information I need to complete my task.
One lovely feature of Entity Framework includes:
var users = context.Users;
This will choose every row in the table.
Afterwards, you can utilize your
When it comes to Entity Framework, it is similar to:
PortalEntities context = new PortalEntities(); var users = context.Users;
The following will appear in Table.