EF 查看生成的sql语句 _context.Database.Log = new Action<string>(q => System.Diagnostics.Debug.WriteLine(q));