/// <summary> /// Create a new SupplierGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="supplierGroupName">Initial value of the SupplierGroupName property.</param> /// <param name="discontinued">Initial value of the Discontinued property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static SupplierGroup CreateSupplierGroup(global::System.Int32 id, global::System.String supplierGroupName, global::System.Boolean discontinued, global::System.Byte[] rowVersion) { SupplierGroup supplierGroup = new SupplierGroup(); supplierGroup.Id = id; supplierGroup.SupplierGroupName = supplierGroupName; supplierGroup.Discontinued = discontinued; supplierGroup.RowVersion = rowVersion; return supplierGroup; }
/// <summary> /// Deprecated Method for adding a new object to the SupplierGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSupplierGroups(SupplierGroup supplierGroup) { base.AddObject("SupplierGroups", supplierGroup); }