/// <summary> /// Create a new object by specifying all fields (except the auto-generated primary key field). /// </summary> public Keyword(string keywordName, int rating, bool autoRecord, SearchInType searchIn) { isChanged = true; this.keywordName = keywordName; this.rating = rating; this.autoRecord = autoRecord; this.searchIn = (int)searchIn; }