发布时间:2024-05-20 15:20:00来源:本站阅读(407)
public async Task ExecuteReaderAsync(RawSqlString sql, params object[] parameters)
{
using (await Database.GetService().EnterCriticalSectionAsync(default))
{
RawSqlCommand rawSqlCommand = Database.GetService().Build(sql.Format, parameters);
return (await rawSqlCommand.RelationalCommand.ExecuteReaderAsync(Database.GetService(), rawSqlCommand.ParameterValues)).DbDataReader;
}
}
// FormattableString
public Task ExecuteReaderAsync(FormattableString sql)
{
return ExecuteReaderAsync(sql.Format, sql.GetArguments());
}
public Task
关键字: EF
1459
876
1277
637
1555
927
934
1941
1382
987
9579
5991
5517
5115
4563
4271
3412
3332
3326
3266