/// <summary> /// 获取sql的执行器 /// </summary> /// <param name="tinfo"></param> /// <param name="sqlName">sql名称</param> /// <returns></returns> public static ISqlConfigExecutor GetExecutor(this DBConfigTable tinfo, [CallerMemberName] string sqlName = null) { return(tinfo.DB.GetExecutor(tinfo.TableName, sqlName)); }