internal void CopyRowToObject(Shiloh.bibleBookRow Row) { if (Row != null) { _Id = Row.bookId; name = Row.name; description = Row.description; } }
internal void LoadObjectFromRow(Shiloh.prayerResponseRow Row) { if (Row != null) { _Id = Row.ID; RequestId = Row.requestId; ResponseText = Row.response; DateCreated = Row.dateCreated; ProcessedBy = Row.processedBy; } }
internal void CopyRowDataToObject(Shiloh.addressRow Row) { if (Row != null) { _DateCreated = Row.dateCreated; _Id = Row.ID; this.City = Row.city; this.Country = Row.country; this.Fax = Row.fax; this.Phone = Row.phone; this.State = Row.state; this.ContactName = Row.contactName; this.StreetAddress = Row.streetAddress; this.Zip = Row.zipCode; } }
protected void LoadEntry(Shiloh.BL.MinistryEntry Entry) { if (Entry != null) { txtContactEmail.Text = Entry.contactEmail; txtContactName.Text = Entry.contactName; txtContactPhone1.Text = Entry.contactPhone1; txtContactPhone2.Text = Entry.contactPhone2; txtMiscInfo.Text = Entry.miscInfo; txtPrograms.Text = Entry.programInfo; txtSummaryBrief.Text = Entry.summary; txtSummaryDetailed.Text = Entry.description; txtSupport.Text = Entry.supportInfo; MakeReadOnly(Entry.isLocked); } }
internal void CopyRowToObject(Shiloh.ministryRow Row) { if (Row != null) { _Id = Row.ministryId; name = Row.name; description = Row.description; dateCreated = Row.dateCreated; isMajor = Row.isMajor; contactName = Row.contactName; contactEmail = Row.contactEmail; contactPhone1 = Row.contactPhone1; contactPhone2 = Row.contactPhone2; summary = Row.summary; parentId = Row.parentMinistryId; } }
internal void CopyRowToObject(Shiloh.ministryEntryRow Row) { if (Row != null) { _Id = Row.rowId; _ministryId = Row.ministryId; miscInfo = Row.miscInfo; description = Row.description; dateCreated = Row.datecreated; isLocked = Row.isLocked; contactName = Row.contactName; contactEmail = Row.contactEmail; contactPhone1 = Row.contactPhone1; contactPhone2 = Row.contactPhone2; summary = Row.summary; programInfo = Row.programInfo; supportInfo = Row.supportInfo; } }
internal PrayerReq(Shiloh.prayerRequestRow Row) { InitObject(); LoadObjectFromRow(Row); }
internal PrayerResponse(Shiloh.prayerResponseRow Row) { InitObject(); LoadObjectFromRow(Row); }
private void LoadVerseData(Shiloh.bibleKJVDataTable BibleTable) { if (BibleTable != null && BibleTable.Rows.Count > 0) { Shiloh.bibleKJVRow row = BibleTable.Rows[0] as Shiloh.bibleKJVRow; CopyRowToObject(row); GetBookName(row); } else InitObject(); }
public BibleKJV(Shiloh.bibleKJVRow Row) { InitObject(); CopyRowToObject(Row); GetBookName(Row); }
private void GetBookName(Shiloh.bibleKJVRow Row) { _book = string.Empty; if (Row != null) { if (Row.bookId > 0) { BibleBook bk = new BibleBook(Row.bookId); _book = bk.name; } } }
internal void CopyRowToObject(Shiloh.bibleKJVRow Row) { if (Row != null) { _Id = Row.verseId; bookId = Row.bookId; chapter = Row.chapter; verse = Row.verse; _verseText = Row.verseText; } }
public Activity(Shiloh.activityRow ActivityRow) { InitObject(); _Id = ActivityRow.ID; CopyRowToObject(ActivityRow); }
internal void CopyRowToObject(Shiloh.activityRow Row) { if (Row != null) { _Id = Row.ID; EndDateTime = Row.activityEnd; StartDateTime = Row.activityStart; Description = Row.description; Frequency = Row.frequency; HostId = Row.hostCommunityID; Name = Row.name; Tag = Row.tag; Location = Row.location; State = Row.state; Address = Row.address; City = Row.city; State = Row.state; ZIPcode = Row.zipCode; ContactName = Row.contactName; ContactPhone = Row.contactPhone; ContactEmail = Row.contactEmailAddress; ContactURL = Row.contactURL; ImagePath = Row.imagePath; } }
internal void CopyRowDataToObject(Shiloh.webAccountRow Row) { if (Row != null) { _DateCreated = Row.dateCreated; _Id = Row.ID; this.Email = Row.emailAddress; this.FirstName = Row.firstName; this.IsActive = Row.isActive; this.IsAdmin = Row.isAdmin; this.LastName = Row.lastName; this.LoginName = Row.loginName; this.SocialSites = Row.socialSites; this.Website = Row.website; _AddressId = (!Row.IsaddressIdNull()) ? Row.addressId : -1; } }
internal void LoadObjectFromRow(Shiloh.prayerRequestRow RequestRow) { if (RequestRow != null) { BestCallTime = RequestRow.bestCallTime; City = RequestRow.city; DateReceived = RequestRow.dateReceived; DoHospitalVisit = RequestRow.doHospitalVisit; Email = RequestRow.emailAddress; FirstName = RequestRow.firstName; HospitalName = RequestRow.hospitalName; HospitalRoomNo = RequestRow.hospitalRoomNo; _Id = RequestRow.ID; IsConfidential = RequestRow.isConfidential; IsInDanger = RequestRow.isInDanger; IsInHospital = RequestRow.isInHospital; LastName = RequestRow.lastName; MiddleName = RequestRow.middleName; Phone = RequestRow.phone; PleaseCall = RequestRow.pleaseCall; PrayerNeeds = RequestRow.prayerNeeds; Referrals = RequestRow.resourceReferrals; SpecialInstructions = RequestRow.specialInstructions; State = RequestRow.state; Address = RequestRow.streetAddress; ZipCode = RequestRow.zipCode; WasProcessed = RequestRow.wasProcessed; ProcessedBy = RequestRow.processedBy; } }
public void LoadAddressInfo(Shiloh.BL.Address AddressInfo) { _Address = AddressInfo; if (AddressInfo != null) { txtName.Text = AddressInfo.ContactName; txtCity.Text = AddressInfo.City; txtCountry.Text = AddressInfo.Country; txtFax.Text = AddressInfo.Fax; txtPhone.Text = AddressInfo.Phone; txtStreetAddress.Text = AddressInfo.StreetAddress; ucStates.StateCode = AddressInfo.State; txtZip.Text = AddressInfo.Zip; } }
internal void CopyRowDataToObject(Shiloh.memberRow Row) { if (Row != null) { _Id = Row.ID; _Sex = Row.sex[0]; _WebAccount = null; _WebAccountId = (!Row.IswebAccountIdNull()) ? Row.webAccountId : -1; LastName = Row.lastName; FirstName = Row.firstName; IsActive = Row.isActive; Status = Row.statusId; AnniversaryDate = Row.anniverisaryDate; BirthDate = Row.birthDate; _DateCreated = Row.dateCreated; Occupation = Row.occupation; _Address = null; _AddressId = (!Row.IsaddressIdNull()) ? Row.addressId : -1; _EmergencyAddress = null; _EmergencyAddressId = (!Row.IsemergencyAddressIdNull()) ? Row.emergencyAddressId : -1; PhoneMobile = Row.phoneMobile; PhoneWork = Row.phoneWork; Email = Row.email; EmailWork = Row.emailWork; Notes = Row.notes; } }
internal Ministry(Shiloh.ministryRow Row) { InitObject(); CopyRowToObject(Row); }
internal BibleBook(Shiloh.bibleBookRow Row) { InitObject(); }