in EF I want tto get the first value of query so I use
ExecuteStoreQuery<object>(Query, null).FirstOrDefault();
because I don't know what's the actual returned data type
if the value comming is numeric is crash , so I used the following
ExecuteStoreQuery<object>(Query, null).Select(x => x.ToString()).FirstOrDefault()
but the resulted string always `System.Object`
any idea how to get the actual value
Best regards