Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerGroups(CustomerGroup customerGroup)
 {
     base.AddObject("CustomerGroups", customerGroup);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new CustomerGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="customerGroupName">Initial value of the CustomerGroupName property.</param>
 /// <param name="discontinued">Initial value of the Discontinued property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static CustomerGroup CreateCustomerGroup(global::System.Int32 id, global::System.String customerGroupName, global::System.Boolean discontinued, global::System.Byte[] rowVersion)
 {
     CustomerGroup customerGroup = new CustomerGroup();
     customerGroup.Id = id;
     customerGroup.CustomerGroupName = customerGroupName;
     customerGroup.Discontinued = discontinued;
     customerGroup.RowVersion = rowVersion;
     return customerGroup;
 }