C# Class SqlMonitor.DataServices.QueryDao

Inheritance: IQueryDao
Datei anzeigen Open project: paulduran/SqlMonitor

Public Methods

Method Description
Add ( SqlMonitor.Core.Domain.Query query ) : void
GetById ( int id ) : SqlMonitor.Core.Domain.Query
GetByName ( string name ) : SqlMonitor.Core.Domain.Query
GetQueries ( ) : IEnumerable
UpdateQuery ( SqlMonitor.Core.Domain.Query query ) : void
UpdateRunDates ( string name, System.DateTime lastRun, System.DateTime nextRun ) : void

Method Details

Add() public method

public Add ( SqlMonitor.Core.Domain.Query query ) : void
query SqlMonitor.Core.Domain.Query
return void

GetById() public method

public GetById ( int id ) : SqlMonitor.Core.Domain.Query
id int
return SqlMonitor.Core.Domain.Query

GetByName() public method

public GetByName ( string name ) : SqlMonitor.Core.Domain.Query
name string
return SqlMonitor.Core.Domain.Query

GetQueries() public method

public GetQueries ( ) : IEnumerable
return IEnumerable

UpdateQuery() public method

public UpdateQuery ( SqlMonitor.Core.Domain.Query query ) : void
query SqlMonitor.Core.Domain.Query
return void

UpdateRunDates() public method

public UpdateRunDates ( string name, System.DateTime lastRun, System.DateTime nextRun ) : void
name string
lastRun System.DateTime
nextRun System.DateTime
return void