/// <summary>
 /// The add to collection.
 /// </summary>
 /// <param name="invoice">
 /// The invoice.
 /// </param>
 /// <param name="collection">
 /// The collection.
 /// </param>
 public static void AddToCollection(this IInvoice invoice, IEntityCollection collection)
 {
     invoice.AddToCollection(collection.Key);
 }
示例#2
0
 /// <summary>
 /// The add to collection.
 /// </summary>
 /// <param name="customer">
 /// The invoice.
 /// </param>
 /// <param name="collection">
 /// The collection.
 /// </param>
 public static void AddToCollection(this ICustomer customer, IEntityCollection collection)
 {
     customer.AddToCollection(collection.Key);
 }
示例#3
0
 /// <summary>
 /// The add to collection.
 /// </summary>
 /// <param name="product">
 /// The product.
 /// </param>
 /// <param name="collection">
 /// The collection.
 /// </param>
 public static void AddToCollection(this IProduct product, IEntityCollection collection)
 {
     product.AddToCollection(collection.Key);
 }