Skip to content

Introduce the support of Dynamic and ExpandoObject in BulkInsert. #243

@mikependon

Description

@mikependon

Code below must be supported.

using (var connection = new SqlConnection(connectionString))
{
	var customer = new ExpandoObject() as IDictionary<string, object>();
	customer.Add("Id", 10045);
	customer.Add("LastUpdatedUtc", DateTime.UtcNow);
	connection.BulkInsert("Customer", new object[] { customer });
}

Metadata

Metadata

Assignees

Labels

deployedFeature or bug is deployed at the current releasefeatureDefined as a big development item (feature)fixedThe bug, issue, incident has been fixed.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions