public Tag GetByName(string tagName) { var tag = this.connection.QueryFirstOrDefault <Tag>(TagQuery.GetTagByName(), new { TagName = tagName }, this.transaction); return(tag); }