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