/// <summary> /// Deprecated Method for adding a new object to the RestaurantDeepLinks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRestaurantDeepLinks(RestaurantDeepLink restaurantDeepLink) { base.AddObject("RestaurantDeepLinks", restaurantDeepLink); }
/// <summary> /// Create a new RestaurantDeepLink object. /// </summary> /// <param name="deepLinkURL">Initial value of the DeepLinkURL property.</param> /// <param name="contentType">Initial value of the ContentType property.</param> /// <param name="restaurantURL">Initial value of the RestaurantURL property.</param> public static RestaurantDeepLink CreateRestaurantDeepLink(global::System.String deepLinkURL, global::System.Int32 contentType, global::System.String restaurantURL) { RestaurantDeepLink restaurantDeepLink = new RestaurantDeepLink(); restaurantDeepLink.DeepLinkURL = deepLinkURL; restaurantDeepLink.ContentType = contentType; restaurantDeepLink.RestaurantURL = restaurantURL; return restaurantDeepLink; }