public Either <RfcErrorInfo, Unit> MoveToFirstTableRow(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("move to first table row by table handle", tableHandle)); var rc = Api.MoveToFirstTableRow(tableHandle as TableHandle, out var errorInfo); return(ResultOrError(Unit.Default, rc, errorInfo)); }
public Either <RfcErrorInfo, IStructureHandle> AppendTableRow(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("append table row by table handle", tableHandle)); IStructureHandle handle = Api.AppendTableRow(tableHandle as TableHandle, out var errorInfo); return(ResultOrError(handle, errorInfo)); }
public Either <RfcErrorInfo, IStructureHandle> GetCurrentTableRow(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("reading current table row by table handle", tableHandle)); IStructureHandle handle = Api.GetCurrentTableRow(tableHandle as TableHandle, out var errorInfo); return(ResultOrError(handle, errorInfo)); }
public Either <RfcErrorInfo, int> GetTableRowCount(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("reading table row count by table handle", tableHandle)); var rc = Api.GetTableRowCount(tableHandle as TableHandle, out var result, out var errorInfo); return(ResultOrError(result, rc, errorInfo)); }
public Either <RfcErrorInfo, ITableHandle> CloneTable(ITableHandle tableHandle) { Logger.IfSome(l => l.LogTrace("cloning table by tableHandle", tableHandle)); ITableHandle handle = Api.CloneTable(tableHandle as TableHandle, out var errorInfo); return(ResultOrError(handle, errorInfo)); }
public Table(ITableHandle handle, IRfcRuntime rfcRuntime) : base(handle, rfcRuntime) { _handle = handle; _rfcRuntime = rfcRuntime; }