コード例 #1
0
 /// <summary>
 /// Create a new tblAccount object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="costCenterId">Initial value of the CostCenterId property.</param>
 /// <param name="accountType">Initial value of the AccountType property.</param>
 public static tblAccount CreatetblAccount(global::System.Guid id, global::System.Guid costCenterId, global::System.Int32 accountType)
 {
     tblAccount tblAccount = new tblAccount();
     tblAccount.id = id;
     tblAccount.CostCenterId = costCenterId;
     tblAccount.AccountType = accountType;
     return tblAccount;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblAccount EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblAccount(tblAccount tblAccount)
 {
     base.AddObject("tblAccount", tblAccount);
 }