/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the TransactionTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransactionTypes(TransactionType transactionType) { base.AddObject("TransactionTypes", transactionType); }