/// <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> /// <param name="sizeName">Initial value of the SizeName property.</param> public static Size CreateSize(global::System.Int32 sizeId, global::System.String sizeName) { Size size = new Size(); size.SizeId = sizeId; size.SizeName = sizeName; return size; }