如何將SQL中的輸出參數映射到DataAccessor中的out參數?我試圖把Direction.Output屬性,但沒有運氣。非工作樣本:DataAccessor中的BLToolkit輸出參數
public abstract class DocumentAccessor : DataAccessor<DocumentRecord>
{
[SprocName("[dbo].[FE_GetDocuments]")]
public abstract IEnumerable<DocumentRecord> GetDocuments(
[ParamName("PageIndex")] int pageIndex,
[ParamName("PageSize")] int pageSize,
[ParamName("SortColumn")] string sortColumn,
[ParamName("SortDirection")] string sortDirection,
[ParamName("TotalCount"), Direction.Output] out int totalCount);
}