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