Class MsAccessBulkInsertColumnCollection
Collection of columns for bulk insert into Microsoft Access database from CSV file (MsAccessBulkInsert).
Inheritance
Namespace: Kros.Data.BulkActions.MsAccess
Assembly: Kros.Utils.MsAccess.dll
Syntax
public class MsAccessBulkInsertColumnCollection : List<MsAccessBulkInsertColumn>, IList<MsAccessBulkInsertColumn>, ICollection<MsAccessBulkInsertColumn>, IList, ICollection, IReadOnlyList<MsAccessBulkInsertColumn>, IReadOnlyCollection<MsAccessBulkInsertColumn>, IEnumerable<MsAccessBulkInsertColumn>, IEnumerable
Constructors
MsAccessBulkInsertColumnCollection()
Creates a new instance of MsAccessBulkInsertColumnCollection.
Declaration
public MsAccessBulkInsertColumnCollection()
MsAccessBulkInsertColumnCollection(IEnumerable<MsAccessBulkInsertColumn>)
Creates a new instance of MsAccessBulkInsertColumnCollection and adds into it data
collection
.
Declaration
public MsAccessBulkInsertColumnCollection(IEnumerable<MsAccessBulkInsertColumn> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MsAccessBulkInsertColumn> | collection | Initial data added to the collection. |
MsAccessBulkInsertColumnCollection(Int32)
Creates a new instance of MsAccessBulkInsertColumnCollection with specified initial
capacity capacity
.
Declaration
public MsAccessBulkInsertColumnCollection(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | Initial capacity of the inner list. |
Methods
Add(MsAccessColumnSchema)
Adds column based on database column schema column
.
Declaration
public void Add(MsAccessColumnSchema column)
Parameters
Type | Name | Description |
---|---|---|
MsAccessColumnSchema | column | Database column schema. |
Add(String)
Adds a column with name columnName
with type set to
Undefined.
Declaration
public void Add(string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | Column name. |
Add(String, BulkInsertColumnType)
Adds a column with name columnName
and type columnType
.
Declaration
public void Add(string columnName, BulkInsertColumnType columnType)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | Column name. |
BulkInsertColumnType | columnType | Column type. |
AddRange(IEnumerable<MsAccessColumnSchema>)
Adds columns based on database column schemas columns
.
Declaration
public void AddRange(IEnumerable<MsAccessColumnSchema> columns)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MsAccessColumnSchema> | columns | Database column schemas. |
AddRange(String[])
Adds all columns in columnNames
with type set to
Undefined.
Declaration
public void AddRange(params string[] columnNames)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | columnNames | Column names. |