/// <summary> /// Create a new Favorites object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="relationshipId">Initial value of the RelationshipId property.</param> public static Favorites CreateFavorites(global::System.Guid id, global::System.Guid relationshipId) { Favorites favorites = new Favorites(); favorites.Id = id; favorites.RelationshipId = relationshipId; return favorites; }
/// <summary> /// Deprecated Method for adding a new object to the Favorites EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFavorites(Favorites favorites) { base.AddObject("Favorites", favorites); }