C# Класс TelerikAcademy.Client.DeleteComparer

3. Compare Bulk Delete with normal delete operation Insert 100 000 entities in single table. Delete each row that has ID where ID mod 7 == 1 Once delete the entities using OpenAccessContext.Remove() method. Then delete the entities using DeleteAll() bulk operation. Both times track the SQL statements that are sent to the server. Both times measure the time required to complete the operation(s). For bonus points measure the memory consumption in addition to the time. Output the measurements in text file including timestamp and machine name
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BulkDelete ( ) : void
Insert100000EntitiesInDB ( ) : void
NormalDelete ( ) : void

Описание методов

BulkDelete() публичный Метод

public BulkDelete ( ) : void
Результат void

Insert100000EntitiesInDB() публичный Метод

public Insert100000EntitiesInDB ( ) : void
Результат void

NormalDelete() публичный Метод

public NormalDelete ( ) : void
Результат void