/// <summary> /// Create a new Location object. /// </summary> /// <param name="locID">Initial value of the LocID property.</param> /// <param name="locName">Initial value of the LocName property.</param> public static Location CreateLocation(global::System.Int16 locID, global::System.String locName) { Location location = new Location(); location.LocID = locID; location.LocName = locName; return location; }
/// <summary> /// Deprecated Method for adding a new object to the Locations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLocations(Location location) { base.AddObject("Locations", location); }