例如,
<asp:EntityDataSource ID="edsPatient" runat="server"
ConnectionString="name=ReferralDBEntities"
DefaultContainerName="ReferralDBEntities" EnableFlattening="False"
EntitySetName="Patients"
Select="it, (it.FirstName + it.LastName) as FullName"
>
但它不是对 SQL 执行的:
Select p.*, (p.FirstName + p.LastName) as FullName from Patients p
EntityDataSource 不支持通配符吗?