/// <summary> /// Deprecated Method for adding a new object to the Sizes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSizes(Size size) { base.AddObject("Sizes", size); }
/// <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; }