/// <summary> /// Deprecated Method for adding a new object to the FosterFamilies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFosterFamilies(FosterFamily fosterFamily) { base.AddObject("FosterFamilies", fosterFamily); }
/// <summary> /// Create a new FosterFamily object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="fatherName">Initial value of the FatherName property.</param> /// <param name="motherName">Initial value of the MotherName property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="country">Initial value of the Country property.</param> /// <param name="phone">Initial value of the Phone property.</param> public static FosterFamily CreateFosterFamily(global::System.Int64 id, global::System.String fatherName, global::System.String motherName, global::System.String city, global::System.String state, global::System.String address, global::System.String country, global::System.String phone) { FosterFamily fosterFamily = new FosterFamily(); fosterFamily.Id = id; fosterFamily.FatherName = fatherName; fosterFamily.MotherName = motherName; fosterFamily.City = city; fosterFamily.State = state; fosterFamily.Address = address; fosterFamily.Country = country; fosterFamily.Phone = phone; return fosterFamily; }