/// <summary> /// Deprecated Method for adding a new object to the VisitorInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVisitorInfoes(VisitorInfo visitorInfo) { base.AddObject("VisitorInfoes", visitorInfo); }
/// <summary> /// Create a new VisitorInfo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="adId">Initial value of the AdId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userRole">Initial value of the UserRole property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="countryID">Initial value of the CountryID property.</param> /// <param name="countryName">Initial value of the CountryName property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionName">Initial value of the RegionName property.</param> /// <param name="cityID">Initial value of the CityID property.</param> /// <param name="cityName">Initial value of the CityName property.</param> /// <param name="phone">Initial value of the Phone property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="gender">Initial value of the Gender property.</param> /// <param name="emailAddress">Initial value of the EmailAddress property.</param> /// <param name="photoPath">Initial value of the PhotoPath property.</param> /// <param name="industryID">Initial value of the IndustryID property.</param> /// <param name="professionID">Initial value of the ProfessionID property.</param> /// <param name="lCID">Initial value of the LCID property.</param> public static VisitorInfo CreateVisitorInfo(global::System.Int32 id, global::System.Int32 adId, global::System.Int32 userId, global::System.String userRole, global::System.String firstName, global::System.String lastName, global::System.String address, global::System.Int32 countryID, global::System.String countryName, global::System.Int32 regionID, global::System.String regionName, global::System.Int32 cityID, global::System.String cityName, global::System.String phone, global::System.Int32 age, global::System.Int32 gender, global::System.String emailAddress, global::System.String photoPath, global::System.Int32 industryID, global::System.Int32 professionID, global::System.Int32 lCID) { VisitorInfo visitorInfo = new VisitorInfo(); visitorInfo.Id = id; visitorInfo.AdId = adId; visitorInfo.UserId = userId; visitorInfo.UserRole = userRole; visitorInfo.FirstName = firstName; visitorInfo.LastName = lastName; visitorInfo.Address = address; visitorInfo.CountryID = countryID; visitorInfo.CountryName = countryName; visitorInfo.RegionID = regionID; visitorInfo.RegionName = regionName; visitorInfo.CityID = cityID; visitorInfo.CityName = cityName; visitorInfo.Phone = phone; visitorInfo.Age = age; visitorInfo.Gender = gender; visitorInfo.EmailAddress = emailAddress; visitorInfo.PhotoPath = photoPath; visitorInfo.IndustryID = industryID; visitorInfo.ProfessionID = professionID; visitorInfo.LCID = lCID; return visitorInfo; }