/// <summary> /// Deprecated Method for adding a new object to the Places EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlaces(Places places) { base.AddObject("Places", places); }
/// <summary> /// Create a new Places object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="x">Initial value of the X property.</param> /// <param name="y">Initial value of the Y property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="address">Initial value of the Address property.</param> public static Places CreatePlaces(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Double x, global::System.Double y, global::System.String city, global::System.String address) { Places places = new Places(); places.ID = id; places.Name = name; places.Description = description; places.X = x; places.Y = y; places.City = city; places.Address = address; return places; }