Enum ConflictAction
Defines the action to take when conflicts occur during bulk copy operations.
public enum ConflictAction
- Extension Methods
Fields
Default = 0Default behavior - conflicts will be handled according to the database's normal behavior (typically will fail).
Ignore = 1Ignore conflicts during bulk copy operation. Supported for following databases:
- MySql/MariaDB - uses INSERT IGNORE INTO statement (only works with MultipleRows)
- PostgreSQL - adds ON CONFLICT DO NOTHING clause to INSERT INTO statement (only works with MultipleRows)
- SQLite - uses INSERT OR IGNORE INTO statement (only works with MultipleRows)