/// <summary> /// Deprecated Method for adding a new object to the tblLike EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblLike(tblLike tblLike) { base.AddObject("tblLike", tblLike); }
/// <summary> /// Create a new tblLike object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="mealId">Initial value of the MealId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="likeOrNot">Initial value of the LikeOrNot property.</param> public static tblLike CreatetblLike(global::System.Int32 id, global::System.Int32 mealId, global::System.Guid userId, global::System.Boolean likeOrNot) { tblLike tblLike = new tblLike(); tblLike.Id = id; tblLike.MealId = mealId; tblLike.UserId = userId; tblLike.LikeOrNot = likeOrNot; return tblLike; }