/// <summary> /// Deprecated Method for adding a new object to the RelatedLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRelatedLocations(RelatedLocation relatedLocation) { base.AddObject("RelatedLocations", relatedLocation); }
/// <summary> /// Create a new RelatedLocation object. /// </summary> /// <param name="value">Initial value of the Value property.</param> /// <param name="related">Initial value of the Related property.</param> public static RelatedLocation CreateRelatedLocation(global::System.String value, global::System.String related) { RelatedLocation relatedLocation = new RelatedLocation(); relatedLocation.Value = value; relatedLocation.Related = related; return relatedLocation; }