예제 #1
0
 /// <summary>
 /// Create a new Transaction object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="bugId">Initial value of the BugId property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 /// <param name="changedBy">Initial value of the ChangedBy property.</param>
 /// <param name="changedOn">Initial value of the ChangedOn property.</param>
 /// <param name="languageId">Initial value of the LanguageId property.</param>
 public static Transaction CreateTransaction(global::System.Int32 id, global::System.Int32 bugId, global::System.Int32 statusId, global::System.String changedBy, global::System.DateTime changedOn, global::System.Int32 languageId)
 {
     Transaction transaction = new Transaction();
     transaction.Id = id;
     transaction.BugId = bugId;
     transaction.StatusId = statusId;
     transaction.ChangedBy = changedBy;
     transaction.ChangedOn = changedOn;
     transaction.LanguageId = languageId;
     return transaction;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Transactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransactions(Transaction transaction)
 {
     base.AddObject("Transactions", transaction);
 }