Parameters
- name
- The name of the column.
- dbType
- One of the PgSqlType values.
- size
- Maximum size of the column data (only for strings).
- precision
- The precision of the column.
- scale
- The scale of the column.
Return Value
The new column's ordinal.
public void CreatePgLoaderColumnColl(PgSqlLoader myLoader) { PgSqlLoaderColumnCollection myColumnCollection = myLoader.Columns; myColumnCollection.Add("DeptNo", PgSqlType.Int); myColumnCollection.Add("DName", PgSqlType.VarChar); myColumnCollection.Add("Loc", PgSqlType.VarChar); }
Public Sub CreatePgLoaderColumnColl(myLoader As PgSqlLoader) Dim myColumnCollection As PgSqlLoaderColumnCollection = myLoader.Columns myColumnCollection.Add("DeptNo", PgSqlType.Int) myColumnCollection.Add("DName", PgSqlType.VarChar) myColumnCollection.Add("Loc", PgSqlType.VarChar) End Sub 'CreatePgSqlLoaderColumnColl