Bog'liq Entity Framework Tutorial, Second Edition (1)
[ 53 ] The markup code of the EntityDataSource control looks like the following:
ConnectionString="name=SecurityDBEntities"
DefaultContainerName="SecurityDBEntities" EnableFlattening="False"
EntitySetName="UserAuthentications"
EntityTypeFilter="UserAuthentication"
Select="it.[UserAuthenticationID], it.[UserAuthenticationTypeID],
it.[UserID], it.[UserName]">
This is what the complete markup code of the
Default.aspx
web page looks like: