Yes of course, you will need to go to the LinqExpressionHelp class and edit this method
(in the project , Stable):
public static MethodCallExpression BuildSingleItemQuery(IQueryable query, MetaTable metaTable, string[] primaryKeyValues)
{
// Items.Where(row => row.ID == 1)
var whereCall = BuildItemsQuery(query, metaTable, metaTable.PrimaryKeyColumns, primaryKeyValues);
// Items.Where(row => row.ID == 1).Single()
var singleCall = Expression.Call(typeof(Queryable), "Single", new Type[] { metaTable.EntityType }, whereCall);
return singleCall;
}
and change the Single to First.
P.S. there could be others that need changing.
Steve

Always seeking an elegant solution.
[Oh! If olny I colud tpye!]
c# Bits blogOh, and don't forget to mark as answer any posts that help you
