/// <summary> /// Create a new tblActivityServiceLineItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="serviceProviderId">Initial value of the ServiceProviderId property.</param> /// <param name="serviceId">Initial value of the ServiceId property.</param> /// <param name="shiftId">Initial value of the ShiftId property.</param> /// <param name="activityId">Initial value of the ActivityId property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static tblActivityServiceLineItem CreatetblActivityServiceLineItem(global::System.Guid id, global::System.Guid serviceProviderId, global::System.Guid serviceId, global::System.Guid shiftId, global::System.Guid activityId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblActivityServiceLineItem tblActivityServiceLineItem = new tblActivityServiceLineItem(); tblActivityServiceLineItem.Id = id; tblActivityServiceLineItem.ServiceProviderId = serviceProviderId; tblActivityServiceLineItem.ServiceId = serviceId; tblActivityServiceLineItem.ShiftId = shiftId; tblActivityServiceLineItem.ActivityId = activityId; tblActivityServiceLineItem.IM_DateCreated = iM_DateCreated; tblActivityServiceLineItem.IM_DateLastUpdated = iM_DateLastUpdated; tblActivityServiceLineItem.IM_Status = iM_Status; return tblActivityServiceLineItem; }
/// <summary> /// Deprecated Method for adding a new object to the tblActivityServiceLineItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblActivityServiceLineItem(tblActivityServiceLineItem tblActivityServiceLineItem) { base.AddObject("tblActivityServiceLineItem", tblActivityServiceLineItem); }