Example #1
0
 public Store(WeekSchedule hours, string phoneNumber, string streetAddress, string city, string state, string zip,
     string directions, string email, string facebookUrl, string twitterUrl, string googlePlusUrl, string instagramUrl,
     string pinterestUrl, string youtubeUrl, string home, string about, string contact, int? id = null)
 {
     this.Hours = hours;
     this.PhoneNumber = phoneNumber;
     this.StreetAddress = streetAddress;
     this.City = city;
     this.State = state;
     this.Zip = zip;
     this.Directions = directions;
     this.Email = email;
     this.FacebookUrl = facebookUrl;
     this.TwitterUrl = twitterUrl;
     this.GooglePlusUrl = googlePlusUrl;
     this.InstagramUrl = instagramUrl;
     this.PinterestUrl = pinterestUrl;
     this.YoutubeUrl = youtubeUrl;
     this.Home = home;
     this.About = about;
     this.Contact = contact;
     this.Id = id ?? 0;
 }
Example #2
0
        public Store(WeekSchedule schedule, string phoneNumber, string streetAddress, string city, string state, string zip,
            string directions, string email, string facebookUrl, string twitterUrl, string googlePlusUrl, string instagramUrl,
            string pinterestUrl, string youtubeUrl, string home, string about, string contact)
        {
            schedule.ValidateNotNullParameter("schedule");

            this.Hours = BitArrayConverter.ToBytes(schedule.GetBitfield());
            this.PhoneNumber = phoneNumber;
            this.StreetAddress = streetAddress;
            this.City = city;
            this.State = state;
            this.Zip = zip;
            this.Directions = directions;
            this.Email = email;
            this.FacebookUrl = facebookUrl;
            this.TwitterUrl = twitterUrl;
            this.GooglePlusUrl = googlePlusUrl;
            this.InstagramUrl = instagramUrl;
            this.PinterestUrl = pinterestUrl;
            this.YoutubeUrl = youtubeUrl;
            this.Home = home;
            this.About = about;
            this.Contact = contact;
        }