19 references to SqlBulkCopyOptions
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (19)
221
private
SqlBulkCopyOptions
_copyOptions;
289
public SqlBulkCopy(SqlConnection connection,
SqlBulkCopyOptions
copyOptions, SqlTransaction externalTransaction)
293
if(externalTransaction != null && IsCopyOption(
SqlBulkCopyOptions
.UseInternalTransaction)) {
297
if(!IsCopyOption(
SqlBulkCopyOptions
.UseInternalTransaction)) {
311
public SqlBulkCopy(string connectionString,
SqlBulkCopyOptions
copyOptions)
422
private bool IsCopyOption(
SqlBulkCopyOptions
copyOption) {
573
|| ((metadata.isIdentity) && !IsCopyOption(
SqlBulkCopyOptions
.KeepIdentity))) {
716
SqlBulkCopyOptions
.KeepNulls
717
|
SqlBulkCopyOptions
.TableLock
718
|
SqlBulkCopyOptions
.CheckConstraints
719
|
SqlBulkCopyOptions
.FireTriggers
720
|
SqlBulkCopyOptions
.AllowEncryptedValueModifications)) !=
SqlBulkCopyOptions
.Default) {
723
if(IsCopyOption(
SqlBulkCopyOptions
.KeepNulls)) {
727
if(IsCopyOption(
SqlBulkCopyOptions
.TableLock)) {
731
if(IsCopyOption(
SqlBulkCopyOptions
.CheckConstraints)) {
735
if(IsCopyOption(
SqlBulkCopyOptions
.FireTriggers)) {
739
if(IsCopyOption(
SqlBulkCopyOptions
.AllowEncryptedValueModifications)) {
2236
if (IsCopyOption(
SqlBulkCopyOptions
.UseInternalTransaction)) { //internal trasaction is started prior to each batch if the Option is set.