/// <summary> /// Create a new TransactionResultType object. /// </summary> /// <param name="resultTypeId">Initial value of the ResultTypeId property.</param> /// <param name="resultTypeName">Initial value of the ResultTypeName property.</param> /// <param name="resultTypeDescription">Initial value of the ResultTypeDescription property.</param> public static TransactionResultType CreateTransactionResultType(global::System.Int32 resultTypeId, global::System.String resultTypeName, global::System.String resultTypeDescription) { TransactionResultType transactionResultType = new TransactionResultType(); transactionResultType.ResultTypeId = resultTypeId; transactionResultType.ResultTypeName = resultTypeName; transactionResultType.ResultTypeDescription = resultTypeDescription; return transactionResultType; }
/// <summary> /// Deprecated Method for adding a new object to the TransactionResultTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransactionResultTypes(TransactionResultType transactionResultType) { base.AddObject("TransactionResultTypes", transactionResultType); }