C# Class Taskling.SqlServer.Blocks.ListBlockRepository

Inheritance: Taskling.SqlServer.AncilliaryServices.DbOperationsService, IListBlockRepository
Show file Open project: Vanlightly/Taskling.NET

Public Methods

Method Description
BatchUpdateListBlockItems ( BatchUpdateRequest batchUpdateRequest ) : void
ChangeStatus ( BlockExecutionChangeStatusRequest changeStatusRequest ) : void
GetLastListBlock ( LastBlockRequest lastRangeBlockRequest ) : ProtoListBlock
GetListBlockItems ( TaskId taskId, string listBlockId ) : IList
ListBlockRepository ( ITaskRepository taskRepository ) : System
UpdateListBlockItem ( SingleUpdateRequest singeUpdateRequest ) : void

Private Methods

Method Description
CreateTemporaryTable ( SqlCommand command ) : string
GenerateDataTable ( string listBlockId, IList items ) : DataTable
GetListUpdateQuery ( BlockExecutionStatus executionStatus ) : string
PerformBulkUpdate ( SqlCommand command, string tableName ) : void

Method Details

BatchUpdateListBlockItems() public method

public BatchUpdateListBlockItems ( BatchUpdateRequest batchUpdateRequest ) : void
batchUpdateRequest Taskling.InfrastructureContracts.Blocks.ListBlocks.BatchUpdateRequest
return void

ChangeStatus() public method

public ChangeStatus ( BlockExecutionChangeStatusRequest changeStatusRequest ) : void
changeStatusRequest Taskling.InfrastructureContracts.Blocks.CommonRequests.BlockExecutionChangeStatusRequest
return void

GetLastListBlock() public method

public GetLastListBlock ( LastBlockRequest lastRangeBlockRequest ) : ProtoListBlock
lastRangeBlockRequest Taskling.InfrastructureContracts.Blocks.LastBlockRequest
return Taskling.InfrastructureContracts.Blocks.ListBlocks.ProtoListBlock

GetListBlockItems() public method

public GetListBlockItems ( TaskId taskId, string listBlockId ) : IList
taskId Taskling.InfrastructureContracts.TaskId
listBlockId string
return IList

ListBlockRepository() public method

public ListBlockRepository ( ITaskRepository taskRepository ) : System
taskRepository ITaskRepository
return System

UpdateListBlockItem() public method

public UpdateListBlockItem ( SingleUpdateRequest singeUpdateRequest ) : void
singeUpdateRequest SingleUpdateRequest
return void