コード例 #1
0
ファイル: OrderForm.cs プロジェクト: hdgardner/ECF
 /// <summary>
 /// Marks current instance as new which will cause new record to be created in the database for the specified object.
 /// This is useful for creating duplicates of existing objects.
 /// </summary>
 internal override void MarkNew()
 {
     base.MarkNew();
     Shipments.MarkNew();
     Payments.MarkNew();
     LineItems.MarkNew();
     Discounts.MarkNew();
 }
コード例 #2
0
ファイル: LineItem.cs プロジェクト: hdgardner/ECF
 /// <summary>
 /// Marks current instance as new which will cause new record to be created in the database for the specified object.
 /// This is useful for creating duplicates of existing objects.
 /// </summary>
 internal override void MarkNew()
 {
     base.MarkNew();
     Discounts.MarkNew();
 }