/// <summary> /// Create a new HealthItem object. /// </summary> /// <param name="healthItemId">Initial value of the HealthItemId property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="updatedDate">Initial value of the UpdatedDate property.</param> /// <param name="healthItemData">Initial value of the HealthItemData property.</param> /// <param name="visitVisitId">Initial value of the VisitVisitId property.</param> public static HealthItem CreateHealthItem(global::System.Guid healthItemId, global::System.DateTime createdDate, global::System.DateTime updatedDate, global::System.String healthItemData, global::System.Guid visitVisitId) { HealthItem healthItem = new HealthItem(); healthItem.HealthItemId = healthItemId; healthItem.CreatedDate = createdDate; healthItem.UpdatedDate = updatedDate; healthItem.HealthItemData = healthItemData; healthItem.VisitVisitId = visitVisitId; return healthItem; }
/// <summary> /// Deprecated Method for adding a new object to the HealthItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHealthItems(HealthItem healthItem) { base.AddObject("HealthItems", healthItem); }