Ejemplo n.º 1
0
 internal void CopyRowToObject(Shiloh.bibleBookRow Row)
 {
     if (Row != null)
     {
         _Id = Row.bookId;
         name = Row.name;
         description = Row.description;
     }
 }
Ejemplo n.º 2
0
 internal void LoadObjectFromRow(Shiloh.prayerResponseRow Row)
 {
     if (Row != null)
     {
         _Id = Row.ID;
         RequestId = Row.requestId;
         ResponseText = Row.response;
         DateCreated = Row.dateCreated;
         ProcessedBy = Row.processedBy;
     }
 }
Ejemplo n.º 3
0
 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;
     }
 }
Ejemplo n.º 4
0
        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);
            }
        }
Ejemplo n.º 5
0
 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;                
     }
 }
Ejemplo n.º 6
0
 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;
     }
 }
Ejemplo n.º 7
0
 internal PrayerReq(Shiloh.prayerRequestRow Row)
 {
     InitObject();
     LoadObjectFromRow(Row);
 }
Ejemplo n.º 8
0
 internal PrayerResponse(Shiloh.prayerResponseRow Row)
 {
     InitObject();
     LoadObjectFromRow(Row);
 }
Ejemplo n.º 9
0
        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();
        }
Ejemplo n.º 10
0
 public BibleKJV(Shiloh.bibleKJVRow Row)
 {
     InitObject();
     CopyRowToObject(Row);
     GetBookName(Row);
 }
Ejemplo n.º 11
0
        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;
                }
            }
        }
Ejemplo n.º 12
0
 internal void CopyRowToObject(Shiloh.bibleKJVRow Row)
 {
     if (Row != null)
     {
         _Id = Row.verseId;
         bookId = Row.bookId;
         chapter = Row.chapter;
         verse = Row.verse;
         _verseText = Row.verseText;
     }
 }
Ejemplo n.º 13
0
 public Activity(Shiloh.activityRow ActivityRow)
 {
     InitObject();
     _Id = ActivityRow.ID;
     CopyRowToObject(ActivityRow);
 }
Ejemplo n.º 14
0
 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;
     }
 }
Ejemplo n.º 15
0
 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;
     }
 }
Ejemplo n.º 16
0
 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;
     }
 }
Ejemplo n.º 17
0
        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;
            }
        }
Ejemplo n.º 18
0
 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;
     }
 }
Ejemplo n.º 19
0
 internal Ministry(Shiloh.ministryRow Row)
 {
     InitObject();
     CopyRowToObject(Row);
 }
Ejemplo n.º 20
0
 internal BibleBook(Shiloh.bibleBookRow Row)
 {
     InitObject();
 }