/// <summary> /// Create a new Contact object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="cuscus_id">Initial value of the cuscus_id property.</param> /// <param name="is_primary">Initial value of the is_primary property.</param> /// <param name="last_name">Initial value of the last_name property.</param> /// <param name="first_name">Initial value of the first_name property.</param> /// <param name="status">Initial value of the status property.</param> /// <param name="created_datetime">Initial value of the created_datetime property.</param> /// <param name="created_user">Initial value of the created_user property.</param> /// <param name="updated_datetime">Initial value of the updated_datetime property.</param> /// <param name="updated_user">Initial value of the updated_user property.</param> public static Contact CreateContact(global::System.Int32 id, global::System.Int32 cuscus_id, global::System.String is_primary, global::System.String last_name, global::System.String first_name, global::System.Int32 status, global::System.DateTime created_datetime, global::System.String created_user, global::System.DateTime updated_datetime, global::System.String updated_user) { Contact contact = new Contact(); contact.id = id; contact.cuscus_id = cuscus_id; contact.is_primary = is_primary; contact.last_name = last_name; contact.first_name = first_name; contact.status = status; contact.created_datetime = created_datetime; contact.created_user = created_user; contact.updated_datetime = updated_datetime; contact.updated_user = updated_user; return contact; }
/// <summary> /// Deprecated Method for adding a new object to the Contacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContacts(Contact contact) { base.AddObject("Contacts", contact); }