I have two fields with Edm.DateTime type. How can I get just Time in h:mm format and concat them in CommandText of EntityDataSource: "01/02/2013 3:15 AM and 01/02/2013 4:15 AM" should be "15:15-16:15" I found cast for concat, Is it right solution:
CommandText="SELECT CAST([DoctorAppointment].[Start] AS System.String) + '--'+ CAST([DoctorAppointment].[End] AS System.String)
as Name FROM DatabaseEntities.DoctorAppointments as DoctorAppointment"