示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductGroups(ProductGroup productGroup)
 {
     base.AddObject("ProductGroups", productGroup);
 }
示例#2
0
 /// <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;
 }
示例#3
0
 public ProductGroupModel(ProductGroup productGroup)
 {
     _productGroup = productGroup;
 }