Table of Contents

Method FillArray

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

FillArray(SLProtocol, int, object[])

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, object[] columns)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

Returns

object

Remarks

  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

FillArray(SLProtocol, int, List<object[]>)

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> columns)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

Returns

object

Remarks

  • This overload is currently not supported.
  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.

FillArray(SLProtocol, int, object[], DateTime?)

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, object[] columns, DateTime? timeInfo)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

columns object[]

The columns of the table.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

FillArray(SLProtocol, int, List<object[]>, DateTime?)

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> columns, DateTime? timeInfo)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

columns List<object[]>

The columns of the table.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • This overload is currently not supported.
  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • In case the data contains null references, the corresponding cells will be cleared.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.

FillArray(SLProtocol, int, List<object[]>, SaveOption)

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> rows, NotifyProtocol.SaveOption option)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed, SaveOption.Partial = rows with unspecified primary keys are preserved.

Returns

object

Remarks

  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • The FillArray method overload with the SaveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.

FillArray(SLProtocol, int, List<object[]>, SaveOption, DateTime?)

Sets the content of the table to the provided content.

[Obsolete("Use protocol.FillArray instead", false)]
public static object FillArray(SLProtocol protocol, int tableId, List<object[]> rows, NotifyProtocol.SaveOption option, DateTime? timeInfo)

Parameters

protocol SLProtocol

Instance that implements SLProtocol.

tableId int

The ID of the table parameter.

rows List<object[]>

The rows of the table.

option NotifyProtocol.SaveOption

SaveOption.Full = unspecified primary keys are removed, SaveOption.Partial = rows with unspecified primary keys are preserved.

timeInfo DateTime?

Timestamp

Returns

object

Remarks

  • This method acts as a wrapper for a NotifyProtocol type 193 call NT_FILL_ARRAY.
  • The FillArray method cannot be used together with the autoincrement column type.
  • This call is to be used with columns of type retrieved. In case other column types are present between the specified columns (e.g. columns of type "custom"), these other columns will be skipped.
  • The FillArray method overload with the SaveOption parameter accepts table rows instead of columns (whereas the other method overloads accept table columns). The implementation of this overload takes the provided list of rows and constructs an array where each element represents a column.
  • In case the data contains null references, the corresponding cells will be cleared.
  • From DataMiner 10.2.9 onwards (RN 33849), if the DateTime.Kind property of timeInfo is unspecified, the timestamp will be handled as local time.