public static StructureHandle GetCurrentTableRow(TableHandle table, out RfcErrorInfo errorInfo) { var ptr = Interopt.RfcGetCurrentRow(table.Ptr, out errorInfo); return(ptr == IntPtr.Zero ? null : new StructureHandle(ptr)); }
public static TableHandle CloneTable(TableHandle tableHandle, out RfcErrorInfo errorInfo) { var ptr = Interopt.RfcCloneTable(tableHandle.Ptr, out errorInfo); return(ptr == IntPtr.Zero ? null : new TableHandle(ptr, true)); }
public static RfcRc MoveToFirstTableRow(TableHandle table, out RfcErrorInfo errorInfo) { return(Interopt.RfcMoveToFirstRow(table.Ptr, out errorInfo)); }
public static RfcRc GetTable(IDataContainerHandle dataContainer, string name, out TableHandle table, out RfcErrorInfo errorInfo) { var rc = Interopt.RfcGetTable(dataContainer.Ptr, name, out var tablePtr, out errorInfo); table = tablePtr == IntPtr.Zero ? null : new TableHandle(tablePtr, false); return(rc); }
public static StructureHandle AppendTableRow(TableHandle table, out RfcErrorInfo errorInfo) { var ptr = Interopt.RfcAppendNewRow(table.Ptr, out errorInfo); return(ptr == IntPtr.Zero ? null : new StructureHandle(ptr)); }