/// <summary> /// Deprecated Method for adding a new object to the WebsiteKeywordTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWebsiteKeywordTypes(WebsiteKeywordType websiteKeywordType) { base.AddObject("WebsiteKeywordTypes", websiteKeywordType); }
/// <summary> /// Create a new WebsiteKeywordType object. /// </summary> /// <param name="websiteKeywordTypeId">Initial value of the WebsiteKeywordTypeId property.</param> /// <param name="websiteId">Initial value of the WebsiteId property.</param> /// <param name="keywordTypeId">Initial value of the KeywordTypeId property.</param> /// <param name="xPathScript">Initial value of the XPathScript property.</param> /// <param name="isMultiple">Initial value of the IsMultiple property.</param> /// <param name="isAttribute">Initial value of the IsAttribute property.</param> /// <param name="attributeName">Initial value of the AttributeName property.</param> /// <param name="isSplitString">Initial value of the IsSplitString property.</param> /// <param name="splitKey">Initial value of the SplitKey property.</param> /// <param name="needDownloadFile">Initial value of the NeedDownloadFile property.</param> public static WebsiteKeywordType CreateWebsiteKeywordType(global::System.Int32 websiteKeywordTypeId, global::System.Int32 websiteId, global::System.Int32 keywordTypeId, global::System.String xPathScript, global::System.Boolean isMultiple, global::System.Boolean isAttribute, global::System.String attributeName, global::System.Boolean isSplitString, global::System.String splitKey, global::System.Boolean needDownloadFile) { WebsiteKeywordType websiteKeywordType = new WebsiteKeywordType(); websiteKeywordType.WebsiteKeywordTypeId = websiteKeywordTypeId; websiteKeywordType.WebsiteId = websiteId; websiteKeywordType.KeywordTypeId = keywordTypeId; websiteKeywordType.XPathScript = xPathScript; websiteKeywordType.IsMultiple = isMultiple; websiteKeywordType.IsAttribute = isAttribute; websiteKeywordType.AttributeName = attributeName; websiteKeywordType.IsSplitString = isSplitString; websiteKeywordType.SplitKey = splitKey; websiteKeywordType.NeedDownloadFile = needDownloadFile; return websiteKeywordType; }