/// <summary> /// Deprecated Method for adding a new object to the members EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomembers(member member) { base.AddObject("members", member); }
/// <summary> /// Create a new member object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="surname">Initial value of the Surname property.</param> /// <param name="titleId">Initial value of the TitleId property.</param> /// <param name="genderId">Initial value of the GenderId property.</param> /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param> /// <param name="nationalityId">Initial value of the NationalityId property.</param> /// <param name="churchInformationId">Initial value of the ChurchInformationId property.</param> /// <param name="rolesId">Initial value of the RolesId property.</param> /// <param name="dateCompletedMembership">Initial value of the DateCompletedMembership property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="dateJoinedMinistry">Initial value of the DateJoinedMinistry property.</param> /// <param name="cellGroupId">Initial value of the CellGroupId property.</param> public static member Createmember(global::System.Int32 id, global::System.String firstName, global::System.String surname, global::System.Int32 titleId, global::System.Int32 genderId, global::System.Int32 dateOfBirth, global::System.String nationalityId, global::System.Int32 churchInformationId, global::System.Int32 rolesId, global::System.DateTime dateCompletedMembership, global::System.Boolean isActive, global::System.DateTime dateJoinedMinistry, global::System.Int32 cellGroupId) { member member = new member(); member.Id = id; member.FirstName = firstName; member.Surname = surname; member.TitleId = titleId; member.GenderId = genderId; member.DateOfBirth = dateOfBirth; member.NationalityId = nationalityId; member.ChurchInformationId = churchInformationId; member.RolesId = rolesId; member.DateCompletedMembership = dateCompletedMembership; member.IsActive = isActive; member.DateJoinedMinistry = dateJoinedMinistry; member.CellGroupId = cellGroupId; return member; }