Skip to content

Enhancement: Support 'ExpandoObject' in 'BulkDelete' #613

@mikependon

Description

@mikependon

Code below must be supported.

using (var connection = new SqlConnection(connectionString))
{
	var list = new List<IDictionary<string, object>>();

	for (var i = 0; i < 100; i++)
	{
		/* First Record */
		var entity = new ExpandoObject() as IDictionary<string, object>();
		customer.Add("Id", (i + 1));
		customer.Add("LastUpdatedUtc", DateTime.UtcNow);
		/* Add more columns */
		list.Add(entity);
	}

	// Calls
	connection.BulkDelete("Customer", list);
}

Metadata

Metadata

Assignees

Labels

deployedFeature or bug is deployed at the current releaseenhancementNew feature or requestfixedThe bug, issue, incident has been fixed.todoThings to be done in the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions