public IList<string> GetTags() { const string sql = @" SELECT DISTINCT Category FROM dbo.VideoClips ORDER BY Category"; var result = new List<string>(); var table = new DbDao().ExecuteSqlDataReader(_connectionString, sql, dr => { result.Add(dr.GetString(0)); }); return result; }
public InsertMethod(DbDao dbDao) { this._dbDao = dbDao; this._dictionary = new Dictionary<string, string>(); }
public DeleteMethod(DbDao dbDao) { this._dbDao = dbDao; this._list = new List<string>(); this._nullValue = new NullValue(); }
public UpdateMethod(DbDao dbDao) { this._dbDao = dbDao; this._list = new List<string>(); }