/// <summary> /// Create a new NameAndCity object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static NameAndCity CreateNameAndCity(global::System.Int32 id) { NameAndCity nameAndCity = new NameAndCity(); nameAndCity.Id = id; return(nameAndCity); }
/// <summary> /// Create a new NameAndCity object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static NameAndCity CreateNameAndCity(global::System.Int32 id) { NameAndCity nameAndCity = new NameAndCity(); nameAndCity.Id = id; return nameAndCity; }
/// <summary> /// Deprecated Method for adding a new object to the NameAndCities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNameAndCities(NameAndCity nameAndCity) { base.AddObject("NameAndCities", nameAndCity); }