C# Class 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
Show file Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Public Methods

Method Description
BulkDelete ( ) : void
Insert100000EntitiesInDB ( ) : void
NormalDelete ( ) : void

Method Details

BulkDelete() public method

public BulkDelete ( ) : void
return void

Insert100000EntitiesInDB() public method

public Insert100000EntitiesInDB ( ) : void
return void

NormalDelete() public method

public NormalDelete ( ) : void
return void