Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CategoryTags EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCategoryTags(CategoryTag categoryTag)
 {
     base.AddObject("CategoryTags", categoryTag);
 }