Click or drag to resize

SQLUpserterAddColumn Method (String, Object, OleDbType, UpsertRoles, Int32)

Adds a column to the class, truncating if necessary.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public void AddColumn(
	string name,
	Object val,
	OleDbType dataType,
	UpsertRoles roles,
	int maxLen
)

Parameters

name
Type: SystemString
The column name
val
Type: SystemObject
The column's value.
dataType
Type: System.Data.OleDbOleDbType
The datatype of the column.
roles
Type: NetQuarryUpsertRoles
Specifies the part(s) of the upsert to which this column should be added.
maxLen
Type: SystemInt32
The maximum length (ignored for non-string columns).
See Also