@Firke, Yogesh (Cognizant), based on my research, it seems that there is no fully equivalent method of the Translate method.
However, you could look at the following workaround to check if it works for you.
EfContext context = new EfContext();
var sql = "SELECT * FROM Members WHERE Name = @p0";
var parameters = new[] { new SqlParameter("@p0", "Test") };
var result = context.Members.FromSqlRaw(sql, parameters).ToList();
You could use sqlcommand parameters directly, MergeOption.AppendOnly is the default behavior and you don't need to set it.
If you think the workaround does help you, you also could submit the issue in GitHub.
Hope my wordaround could help you.
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.