/// <summary>
 /// Create a new Widget object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Widget CreateWidget(global::System.Int32 id)
 {
     Widget widget = new Widget();
     widget.ID = id;
     return widget;
 }
 public static WidgetDTO ToWidgetDTO(Widget w)
 {
     throw new NotImplementedException();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Widgets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWidgets(Widget widget)
 {
     base.AddObject("Widgets", widget);
 }