コード例 #1
0
ファイル: LorealDb.Designer.cs プロジェクト: ddksaku/loreal
 /// <summary>
 /// Create a new Sale object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDCustomer">Initial value of the IDCustomer property.</param>
 /// <param name="iDBrandAxe">Initial value of the IDBrandAxe property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="intID">Initial value of the IntID property.</param>
 public static Sale CreateSale(global::System.Guid id, global::System.Guid iDCustomer, global::System.Guid iDBrandAxe, global::System.DateTime date, global::System.Int32 intID)
 {
     Sale sale = new Sale();
     sale.ID = id;
     sale.IDCustomer = iDCustomer;
     sale.IDBrandAxe = iDBrandAxe;
     sale.Date = date;
     sale.IntID = intID;
     return sale;
 }
コード例 #2
0
ファイル: LorealDb.Designer.cs プロジェクト: ddksaku/loreal
 /// <summary>
 /// Deprecated Method for adding a new object to the Sale EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSale(Sale sale)
 {
     base.AddObject("Sale", sale);
 }