请问各位大大,请问
我在编译这段程式
string ESQL = "SELECT MIN(T." + FIDFieldName + ") AS ID " +
"FROM XINEntities1." + FTableName + " AS T ";
DbDataRecord rec = new ObjectQuery<DbDataRecord>
(ESQL, context).FirstOrDefault();
出现错误如下:
无法从 'SEAN.XINEntities1' 转换为 'System.Data.Objects.ObjectContext' C:\Users\sean\Documents\Visual Studio 2012\Projects\SEAN\SEAN\Base.cs 365 51 SEAN
我已经有将system.data.object加进来了
却还是找不到?!