/// <summary> /// Deprecated Method for adding a new object to the ProductGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductGroups(ProductGroup productGroup) { base.AddObject("ProductGroups", productGroup); }
/// <summary> /// Create a new ProductGroup object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="groupName">Initial value of the GroupName property.</param> /// <param name="record">Initial value of the Record property.</param> /// <param name="tillID">Initial value of the TillID property.</param> public static ProductGroup CreateProductGroup(global::System.Guid id, global::System.String groupName, global::System.Int32 record, global::System.Guid tillID) { ProductGroup productGroup = new ProductGroup(); productGroup.ID = id; productGroup.GroupName = groupName; productGroup.Record = record; productGroup.TillID = tillID; return productGroup; }
public ProductGroupModel(ProductGroup productGroup) { _productGroup = productGroup; }