/// <summary> /// Create a new CategoryTag object. /// </summary> /// <param name="categoryId">Initial value of the CategoryId property.</param> /// <param name="tagCode">Initial value of the TagCode property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static CategoryTag CreateCategoryTag(global::System.Int32 categoryId, global::System.String tagCode, global::System.String createBy, global::System.DateTime createDate) { CategoryTag categoryTag = new CategoryTag(); categoryTag.CategoryId = categoryId; categoryTag.TagCode = tagCode; categoryTag.CreateBy = createBy; categoryTag.CreateDate = createDate; return categoryTag; }
/// <summary> /// Deprecated Method for adding a new object to the CategoryTags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategoryTags(CategoryTag categoryTag) { base.AddObject("CategoryTags", categoryTag); }