/// <summary> /// Create a new EventInvite object. /// </summary> /// <param name="eventInviteID">Initial value of the EventInviteID property.</param> /// <param name="gUID">Initial value of the GUID property.</param> /// <param name="eventID">Initial value of the EventID property.</param> /// <param name="emailAddress">Initial value of the EmailAddress property.</param> /// <param name="inviteEmailSent">Initial value of the InviteEmailSent property.</param> /// <param name="inviteAccepted">Initial value of the InviteAccepted property.</param> /// <param name="inviteDeclined">Initial value of the InviteDeclined property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdByFullName">Initial value of the CreatedByFullName property.</param> /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param> /// <param name="lastUpdatedByFullName">Initial value of the LastUpdatedByFullName property.</param> public static EventInvite CreateEventInvite(global::System.Int32 eventInviteID, global::System.String gUID, global::System.Int32 eventID, global::System.String emailAddress, global::System.Boolean inviteEmailSent, global::System.Boolean inviteAccepted, global::System.Boolean inviteDeclined, global::System.Boolean deleted, global::System.DateTime createdDate, global::System.String createdByFullName, global::System.DateTime lastUpdatedDate, global::System.String lastUpdatedByFullName) { EventInvite eventInvite = new EventInvite(); eventInvite.EventInviteID = eventInviteID; eventInvite.GUID = gUID; eventInvite.EventID = eventID; eventInvite.EmailAddress = emailAddress; eventInvite.InviteEmailSent = inviteEmailSent; eventInvite.InviteAccepted = inviteAccepted; eventInvite.InviteDeclined = inviteDeclined; eventInvite.Deleted = deleted; eventInvite.CreatedDate = createdDate; eventInvite.CreatedByFullName = createdByFullName; eventInvite.LastUpdatedDate = lastUpdatedDate; eventInvite.LastUpdatedByFullName = lastUpdatedByFullName; return eventInvite; }
/// <summary> /// Deprecated Method for adding a new object to the EventInvites EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventInvites(EventInvite eventInvite) { base.AddObject("EventInvites", eventInvite); }