Click or drag to resize

SQLUpdaterAddColumnPerSchema Method

Adds a column to the class if the column is found in the table's schema. The Schema is interrogated from the IDatabase object and for the Table provided in the object's SQLUpdater(IDatabase, String, String) constructor which must have been used in order to use this method.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool AddColumnPerSchema(
	string name,
	Object val,
	SQLColumnFlags flags
)

Parameters

name
Type: SystemString
The column name.
val
Type: SystemObject
The column's value.
flags
Type: NetQuarrySQLColumnFlags
Flags specifying additional information about the column or how it is to be added.

Return Value

Type: Boolean
True if the columns was added, else false (indicating that the column was not found in the table's schema).
See Also