/// <summary> /// Create a new KeywordType object. /// </summary> /// <param name="keywordTypeId">Initial value of the KeywordTypeId property.</param> /// <param name="name">Initial value of the Name property.</param> public static KeywordType CreateKeywordType(global::System.Int32 keywordTypeId, global::System.String name) { KeywordType keywordType = new KeywordType(); keywordType.KeywordTypeId = keywordTypeId; keywordType.Name = name; return keywordType; }
/// <summary> /// Deprecated Method for adding a new object to the KeywordTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKeywordTypes(KeywordType keywordType) { base.AddObject("KeywordTypes", keywordType); }