I have this piece of code:
public int DeleteProfiles(IList<decimal> idsToDelete)
{
IEntityCollection2 entitiesToDelete = new EntityCollectionNonGeneric();
foreach (decimal id in idsToDelete)
{
entitiesToDelete.Add(new XpTabulkyGridEntity(id));
}
using (var factory = this.configRepositoryFactory())
{
return factory.Value.DeleteCollection(entitiesToDelete);
}
}
and the DeleteCollection method
public int DeleteCollection(IEntityCollection2 collection)
{
return this.adapter.DeleteEntityCollection(collection);
}
There is no error showing up but also no sql query is hitting the DB.
Runtime library version: 2.6.10.0526
and I'm using the ODT.NET provider.