コード例 #1
0
        void AddPaymentMethod(DataRow row)
        {
            string methodCode = row["PaymentMethodType"].ToString();
            LoadPaymentMethodOperation operation = 
                new LoadPaymentMethodOperation(employee, methodCode);

            operation.Execute();
            employee.Method = operation.Method;
        }
コード例 #2
0
        void AddPaymentMethod(DataRow row)
        {
            string methodCode = row["PaymentMethodType"].ToString();
            LoadPaymentMethodOperation operation =
                new LoadPaymentMethodOperation(employee, methodCode);

            operation.Execute();
            employee.Method = operation.Method;
        }