public Either <RfcErrorInfo, int> GetTableRowCount(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("reading table row count by table handle", tableHandle)); var rc = NativeApi.GetTableRowCount(tableHandle as TableHandle, out var result, out var errorInfo); return(ResultOrError(result, rc, errorInfo)); }