Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TransactionTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransactionTypes(TransactionType transactionType)
 {
     base.AddObject("TransactionTypes", transactionType);
 }
Пример #2
0
 /// <summary>
 /// Create a new TransactionType object.
 /// </summary>
 /// <param name="transactionTypeId">Initial value of the TransactionTypeId property.</param>
 /// <param name="transactionTypeName">Initial value of the TransactionTypeName property.</param>
 public static TransactionType CreateTransactionType(global::System.Int32 transactionTypeId, global::System.String transactionTypeName)
 {
     TransactionType transactionType = new TransactionType();
     transactionType.TransactionTypeId = transactionTypeId;
     transactionType.TransactionTypeName = transactionTypeName;
     return transactionType;
 }