/// <summary> /// Create a new Widget object. /// </summary> /// <param name="widgetID">Initial value of the WidgetID property.</param> public static Widget CreateWidget(global::System.Int64 widgetID) { Widget widget = new Widget(); widget.WidgetID = widgetID; return widget; }
/// <summary> /// Deprecated Method for adding a new object to the Widgets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWidgets(Widget widget) { base.AddObject("Widgets", widget); }