SQLInserterAddColumnPerSchema 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
SQLInserter(IDatabase, 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
)
Public Function AddColumnPerSchema (
name As String,
val As Object,
flags As SQLColumnFlags
) As Boolean
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:
BooleanTrue if the columns was added, else false (indicating that the column was not found in the table's schema).
See Also