Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sizes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSizes(Size size)
 {
     base.AddObject("Sizes", size);
 }
Example #2
0
 /// <summary>
 /// Create a new Size object.
 /// </summary>
 /// <param name="sizeId">Initial value of the SizeId property.</param>
 public static Size CreateSize(global::System.Int32 sizeId)
 {
     Size size = new Size();
     size.SizeId = sizeId;
     return size;
 }