C# Class WhiskWork.Data.Ado.AdoWorkStepRepository

Inheritance: ICacheableWorkStepRepository
Show file Open project: jorn-ola-birkeland/WhiskWork Class Usage Examples

Public Methods

Method Description
AdoWorkStepRepository ( string connectionString ) : System.Collections.Generic
CreateWorkStep ( WorkStep workStep ) : void
DeleteWorkStep ( string path ) : void
ExistsWorkStep ( string path ) : bool
GetAllWorkSteps ( ) : IEnumerable
GetChildWorkSteps ( string path ) : IEnumerable
GetWorkStep ( string path ) : WorkStep
UpdateWorkStep ( WorkStep workStep ) : void

Private Methods

Method Description
Create ( SqlConnection connection, WorkStep workStep ) : void
Delete ( SqlConnection connection, string path ) : void
GetWorkSteps ( SqlCommand cmd ) : IEnumerable
MapWorkStep ( IDataReader reader ) : IEnumerable

Method Details

AdoWorkStepRepository() public method

public AdoWorkStepRepository ( string connectionString ) : System.Collections.Generic
connectionString string
return System.Collections.Generic

CreateWorkStep() public method

public CreateWorkStep ( WorkStep workStep ) : void
workStep WhiskWork.Core.WorkStep
return void

DeleteWorkStep() public method

public DeleteWorkStep ( string path ) : void
path string
return void

ExistsWorkStep() public method

public ExistsWorkStep ( string path ) : bool
path string
return bool

GetAllWorkSteps() public method

public GetAllWorkSteps ( ) : IEnumerable
return IEnumerable

GetChildWorkSteps() public method

public GetChildWorkSteps ( string path ) : IEnumerable
path string
return IEnumerable

GetWorkStep() public method

public GetWorkStep ( string path ) : WorkStep
path string
return WhiskWork.Core.WorkStep

UpdateWorkStep() public method

public UpdateWorkStep ( WorkStep workStep ) : void
workStep WhiskWork.Core.WorkStep
return void