Esempio n. 1
0
        /// <summary>
        /// 创建新的 TEST_STUDENT 对象。
        /// </summary>
        /// <param name="sTUDENT_CODE">STUDENT_CODE 属性的初始值。</param>
        /// <param name="sTUDENT_NAME">STUDENT_NAME 属性的初始值。</param>
        public static TEST_STUDENT CreateTEST_STUDENT(global::System.Decimal sTUDENT_CODE, global::System.String sTUDENT_NAME)
        {
            TEST_STUDENT tEST_STUDENT = new TEST_STUDENT();

            tEST_STUDENT.STUDENT_CODE = sTUDENT_CODE;
            tEST_STUDENT.STUDENT_NAME = sTUDENT_NAME;
            return(tEST_STUDENT);
        }
        /// <summary>
        /// Create a new PRODUCTS_AWARD_INFO object.
        /// </summary>
        /// <param name="pRODUCT_ID">Initial value of the PRODUCT_ID property.</param>
        /// <param name="c_ASSOC_ROW">Initial value of the C_ASSOC_ROW property.</param>
        public static PRODUCTS_AWARD_INFO CreatePRODUCTS_AWARD_INFO(global::System.Decimal pRODUCT_ID, global::System.Decimal c_ASSOC_ROW)
        {
            PRODUCTS_AWARD_INFO pRODUCTS_AWARD_INFO = new PRODUCTS_AWARD_INFO();

            pRODUCTS_AWARD_INFO.PRODUCT_ID  = pRODUCT_ID;
            pRODUCTS_AWARD_INFO.C_ASSOC_ROW = c_ASSOC_ROW;
            return(pRODUCTS_AWARD_INFO);
        }
Esempio n. 3
0
        /// <summary>
        /// 创建新的 TEST_COURSE 对象。
        /// </summary>
        /// <param name="cOURSE_CODE">COURSE_CODE 属性的初始值。</param>
        /// <param name="cOURSE_NAME">COURSE_NAME 属性的初始值。</param>
        public static TEST_COURSE CreateTEST_COURSE(global::System.Decimal cOURSE_CODE, global::System.String cOURSE_NAME)
        {
            TEST_COURSE tEST_COURSE = new TEST_COURSE();

            tEST_COURSE.COURSE_CODE = cOURSE_CODE;
            tEST_COURSE.COURSE_NAME = cOURSE_NAME;
            return(tEST_COURSE);
        }
Esempio n. 4
0
        /// <summary>
        /// Create a new ReportDataClass object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="total">Initial value of the Total property.</param>
        public static ReportDataClass CreateReportDataClass(global::System.Int32 id, global::System.Decimal total)
        {
            ReportDataClass reportDataClass = new ReportDataClass();

            reportDataClass.Id    = id;
            reportDataClass.Total = total;
            return(reportDataClass);
        }
        /// <summary>
        /// Create a new Cart object.
        /// </summary>
        /// <param name="cartId">Initial value of the CartId property.</param>
        /// <param name="cartTotal">Initial value of the CartTotal property.</param>
        public static Cart CreateCart(global::System.Int32 cartId, global::System.Decimal cartTotal)
        {
            Cart cart = new Cart();

            cart.CartId    = cartId;
            cart.CartTotal = cartTotal;
            return(cart);
        }
Esempio n. 6
0
        /// <summary>
        /// Create a new TA_ReportFile object.
        /// </summary>
        /// <param name="reportFile_ID">Initial value of the ReportFile_ID property.</param>
        /// <param name="reportFile_Name">Initial value of the ReportFile_Name property.</param>
        public static TA_ReportFile CreateTA_ReportFile(global::System.Decimal reportFile_ID, global::System.String reportFile_Name)
        {
            TA_ReportFile tA_ReportFile = new TA_ReportFile();

            tA_ReportFile.ReportFile_ID   = reportFile_ID;
            tA_ReportFile.ReportFile_Name = reportFile_Name;
            return(tA_ReportFile);
        }
Esempio n. 7
0
        /// <summary>
        /// Create a new TA_Report object.
        /// </summary>
        /// <param name="report_ID">Initial value of the Report_ID property.</param>
        /// <param name="report_Name">Initial value of the Report_Name property.</param>
        public static TA_Report CreateTA_Report(global::System.Decimal report_ID, global::System.String report_Name)
        {
            TA_Report tA_Report = new TA_Report();

            tA_Report.Report_ID   = report_ID;
            tA_Report.Report_Name = report_Name;
            return(tA_Report);
        }
        /// <summary>
        /// Create a new Card object.
        /// </summary>
        /// <param name="cardId">Initial value of the CardId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        public static Card CreateCard(global::System.Int32 cardId, global::System.Decimal amount)
        {
            Card card = new Card();

            card.CardId = cardId;
            card.Amount = amount;
            return(card);
        }
Esempio n. 9
0
        /// <summary>
        /// Create a new Employee object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="salary">Initial value of the Salary property.</param>
        public static Employee CreateEmployee(global::System.Int32 id, global::System.Decimal salary)
        {
            Employee employee = new Employee();

            employee.Id     = id;
            employee.Salary = salary;
            return(employee);
        }
Esempio n. 10
0
 private void Update_LateFees(global::System.Decimal obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Views\CustomerReportPage.xaml line 70
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj11, obj.ToString(), null);
     }
 }
Esempio n. 11
0
 private void Update_Price(global::System.Decimal obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Views\IndividualPage.xaml line 117
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj19, obj.ToString(), null);
     }
 }
Esempio n. 12
0
        /// <summary>
        /// Create a new ProductComplexType object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="title">Initial value of the Title property.</param>
        /// <param name="movieImage">Initial value of the MovieImage property.</param>
        public static ProductComplexType CreateProductComplexType(global::System.Decimal id, global::System.Single title, global::System.String movieImage)
        {
            ProductComplexType productComplexType = new ProductComplexType();

            productComplexType.Id         = id;
            productComplexType.Title      = title;
            productComplexType.MovieImage = movieImage;
            return(productComplexType);
        }
Esempio n. 13
0
        /// <summary>
        /// Create a new PRODUCT2 object.
        /// </summary>
        /// <param name="pRODUCT_ID">Initial value of the PRODUCT_ID property.</param>
        /// <param name="l_UPC">Initial value of the L_UPC property.</param>
        /// <param name="lOCATION">Initial value of the LOCATION property.</param>
        public static PRODUCT2 CreatePRODUCT2(global::System.Decimal pRODUCT_ID, global::System.String l_UPC, global::System.String lOCATION)
        {
            PRODUCT2 pRODUCT2 = new PRODUCT2();

            pRODUCT2.PRODUCT_ID = pRODUCT_ID;
            pRODUCT2.L_UPC      = l_UPC;
            pRODUCT2.LOCATION   = lOCATION;
            return(pRODUCT2);
        }
Esempio n. 14
0
        /// <summary>
        /// Create a new CurrencyRate object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="rate">Initial value of the rate property.</param>
        /// <param name="date">Initial value of the date property.</param>
        public static CurrencyRate CreateCurrencyRate(global::System.Int32 id, global::System.Decimal rate, global::System.DateTime date)
        {
            CurrencyRate currencyRate = new CurrencyRate();

            currencyRate.Id   = id;
            currencyRate.rate = rate;
            currencyRate.date = date;
            return(currencyRate);
        }
Esempio n. 15
0
        /// <summary>
        /// Create a new MONEDA object.
        /// </summary>
        /// <param name="iDMONEDA">Initial value of the IDMONEDA property.</param>
        /// <param name="dESCRIPCION">Initial value of the DESCRIPCION property.</param>
        /// <param name="sIGNO">Initial value of the SIGNO property.</param>
        public static MONEDA CreateMONEDA(global::System.Decimal iDMONEDA, global::System.String dESCRIPCION, global::System.String sIGNO)
        {
            MONEDA mONEDA = new MONEDA();

            mONEDA.IDMONEDA    = iDMONEDA;
            mONEDA.DESCRIPCION = dESCRIPCION;
            mONEDA.SIGNO       = sIGNO;
            return(mONEDA);
        }
        /// <summary>
        /// Create a new Payment object.
        /// </summary>
        /// <param name="paymentId">Initial value of the PaymentId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="vendor">Initial value of the Vendor property.</param>
        public static Payment CreatePayment(global::System.Int32 paymentId, global::System.Decimal amount, global::System.String vendor)
        {
            Payment payment = new Payment();

            payment.PaymentId = paymentId;
            payment.Amount    = amount;
            payment.Vendor    = vendor;
            return(payment);
        }
Esempio n. 17
0
        /// <summary>
        /// Create a new Wallet object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="money">Initial value of the Money property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        public static Wallet CreateWallet(global::System.Int32 id, global::System.Decimal money, global::System.Int32 userId)
        {
            Wallet wallet = new Wallet();

            wallet.Id     = id;
            wallet.Money  = money;
            wallet.UserId = userId;
            return(wallet);
        }
Esempio n. 18
0
        /// <summary>
        /// Create a new CashPayment object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static CashPayment CreateCashPayment(global::System.Int32 id, global::System.Decimal amount, global::System.String name)
        {
            CashPayment cashPayment = new CashPayment();

            cashPayment.Id     = id;
            cashPayment.Amount = amount;
            cashPayment.Name   = name;
            return(cashPayment);
        }
Esempio n. 19
0
        /// <summary>
        /// Create a new Promotion object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="discountAmount">Initial value of the DiscountAmount property.</param>
        /// <param name="productId">Initial value of the ProductId property.</param>
        public static Promotion CreatePromotion(global::System.Int32 id, global::System.Decimal discountAmount, global::System.Int32 productId)
        {
            Promotion promotion = new Promotion();

            promotion.Id             = id;
            promotion.DiscountAmount = discountAmount;
            promotion.ProductId      = productId;
            return(promotion);
        }
Esempio n. 20
0
        /// <summary>
        /// Create a new v_WRK_BRAND_CATEGORISATION object.
        /// </summary>
        /// <param name="gROUP_LEVEL">Initial value of the GROUP_LEVEL property.</param>
        /// <param name="tYPE">Initial value of the TYPE property.</param>
        /// <param name="id">Initial value of the ID property.</param>
        public static v_WRK_BRAND_CATEGORISATION Createv_WRK_BRAND_CATEGORISATION(global::System.Decimal gROUP_LEVEL, global::System.Decimal tYPE, global::System.Decimal id)
        {
            v_WRK_BRAND_CATEGORISATION v_WRK_BRAND_CATEGORISATION = new v_WRK_BRAND_CATEGORISATION();

            v_WRK_BRAND_CATEGORISATION.GROUP_LEVEL = gROUP_LEVEL;
            v_WRK_BRAND_CATEGORISATION.TYPE        = tYPE;
            v_WRK_BRAND_CATEGORISATION.ID          = id;
            return(v_WRK_BRAND_CATEGORISATION);
        }
        /// <summary>
        /// Create a new Order object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="price">Initial value of the Price property.</param>
        /// <param name="status">Initial value of the Status property.</param>
        public static Order CreateOrder(global::System.Int32 id, global::System.Decimal price, global::System.String status)
        {
            Order order = new Order();

            order.Id     = id;
            order.Price  = price;
            order.Status = status;
            return(order);
        }
Esempio n. 22
0
        /// <summary>
        /// Create a new PRODUCT object.
        /// </summary>
        /// <param name="pRODUCT_ID">Initial value of the PRODUCT_ID property.</param>
        /// <param name="l_UPC">Initial value of the L_UPC property.</param>
        /// <param name="lOCATION">Initial value of the LOCATION property.</param>
        public static PRODUCT CreatePRODUCT(global::System.Decimal pRODUCT_ID, global::System.String l_UPC, global::System.String lOCATION)
        {
            PRODUCT pRODUCT = new PRODUCT();

            pRODUCT.PRODUCT_ID = pRODUCT_ID;
            pRODUCT.L_UPC      = l_UPC;
            pRODUCT.LOCATION   = lOCATION;
            return(pRODUCT);
        }
Esempio n. 23
0
        /// <summary>
        /// 创建新的 TEST_SCORE 对象。
        /// </summary>
        /// <param name="sTUDENT_CODE">STUDENT_CODE 属性的初始值。</param>
        /// <param name="cOURSE_CODE">COURSE_CODE 属性的初始值。</param>
        /// <param name="sCORE_VALUE">SCORE_VALUE 属性的初始值。</param>
        public static TEST_SCORE CreateTEST_SCORE(global::System.Decimal sTUDENT_CODE, global::System.Decimal cOURSE_CODE, global::System.Decimal sCORE_VALUE)
        {
            TEST_SCORE tEST_SCORE = new TEST_SCORE();

            tEST_SCORE.STUDENT_CODE = sTUDENT_CODE;
            tEST_SCORE.COURSE_CODE  = cOURSE_CODE;
            tEST_SCORE.SCORE_VALUE  = sCORE_VALUE;
            return(tEST_SCORE);
        }
        /// <summary>
        /// Create a new Order object.
        /// </summary>
        /// <param name="orderId">Initial value of the OrderId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        public static Order CreateOrder(global::System.Int32 orderId, global::System.Decimal amount)
        {
            Order order = new Order();

            order.OrderId = orderId;

            order.Amount = amount;

            return(order);
        }
Esempio n. 25
0
        /// <summary>
        /// Create a new Account object.
        /// </summary>
        /// <param name="accountId">Initial value of the AccountId property.</param>
        /// <param name="balance">Initial value of the Balance property.</param>
        public static Account CreateAccount(global::System.Int32 accountId, global::System.Decimal balance)
        {
            Account account = new Account();

            account.AccountId = accountId;

            account.Balance = balance;

            return(account);
        }
        /// <summary>
        /// Create a new Order object.
        /// </summary>
        /// <param name="orderId">Initial value of the OrderId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="orderDate">Initial value of the OrderDate property.</param>
        /// <param name="customerId">Initial value of the CustomerId property.</param>
        public static Order CreateOrder(global::System.Int32 orderId, global::System.Decimal amount, global::System.DateTime orderDate, global::System.Int32 customerId)
        {
            Order order = new Order();

            order.OrderId    = orderId;
            order.Amount     = amount;
            order.OrderDate  = orderDate;
            order.CustomerId = customerId;
            return(order);
        }
Esempio n. 27
0
        /// <summary>
        /// Create a new Invoice object.
        /// </summary>
        /// <param name="invoiceId">Initial value of the InvoiceId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="description">Initial value of the Description property.</param>
        /// <param name="date">Initial value of the Date property.</param>
        public static Invoice CreateInvoice(global::System.Int32 invoiceId, global::System.Decimal amount, global::System.String description, global::System.DateTime date)
        {
            Invoice invoice = new Invoice();

            invoice.InvoiceId   = invoiceId;
            invoice.Amount      = amount;
            invoice.Description = description;
            invoice.Date        = date;
            return(invoice);
        }
Esempio n. 28
0
        /// <summary>
        /// Create a new Product object.
        /// </summary>
        /// <param name="name">Initial value of the name property.</param>
        /// <param name="price">Initial value of the price property.</param>
        /// <param name="description">Initial value of the description property.</param>
        /// <param name="id">Initial value of the id property.</param>
        public static Product CreateProduct(global::System.String name, global::System.Decimal price, global::System.String description, global::System.Int32 id)
        {
            Product product = new Product();

            product.name        = name;
            product.price       = price;
            product.description = description;
            product.id          = id;
            return(product);
        }
Esempio n. 29
0
        /// <summary>
        /// Create a new Account object.
        /// </summary>
        /// <param name="accountNumber">Initial value of the AccountNumber property.</param>
        /// <param name="balance">Initial value of the Balance property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="timeStamp">Initial value of the TimeStamp property.</param>
        public static Account CreateAccount(global::System.String accountNumber, global::System.Decimal balance, global::System.String name, global::System.Byte[] timeStamp)
        {
            Account account = new Account();

            account.AccountNumber = accountNumber;
            account.Balance       = balance;
            account.Name          = name;
            account.TimeStamp     = timeStamp;
            return(account);
        }
Esempio n. 30
0
        /// <summary>
        /// Create a new ChequePayment object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="bankAccount">Initial value of the BankAccount property.</param>
        public static ChequePayment CreateChequePayment(global::System.Int32 id, global::System.Decimal amount, global::System.String name, global::System.String bankAccount)
        {
            ChequePayment chequePayment = new ChequePayment();

            chequePayment.Id          = id;
            chequePayment.Amount      = amount;
            chequePayment.Name        = name;
            chequePayment.BankAccount = bankAccount;
            return(chequePayment);
        }
Esempio n. 31
0
 /// <summary>
 /// 创建新的 physicalAsset 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="organizationID">OrganizationID 属性的初始值。</param>
 /// <param name="productId">ProductId 属性的初始值。</param>
 /// <param name="placeOfBuy">PlaceOfBuy 属性的初始值。</param>
 /// <param name="buyTime">BuyTime 属性的初始值。</param>
 /// <param name="validity">Validity 属性的初始值。</param>
 /// <param name="value">Value 属性的初始值。</param>
 public static physicalAsset CreatephysicalAsset(global::System.Int32 id, global::System.Int32 organizationID, global::System.Int32 productId, global::System.String placeOfBuy, global::System.String buyTime, global::System.String validity, global::System.Decimal value)
 {
     physicalAsset physicalAsset = new physicalAsset();
     physicalAsset.Id = id;
     physicalAsset.OrganizationID = organizationID;
     physicalAsset.ProductId = productId;
     physicalAsset.PlaceOfBuy = placeOfBuy;
     physicalAsset.BuyTime = buyTime;
     physicalAsset.Validity = validity;
     physicalAsset.Value = value;
     return physicalAsset;
 }
Esempio n. 32
0
 /// <summary>
 /// Create a new smu_UserWeight object.
 /// </summary>
 /// <param name="userWeightId">Initial value of the UserWeightId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="weight">Initial value of the Weight property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static smu_UserWeight Createsmu_UserWeight(global::System.Int32 userWeightId, global::System.Int32 userId, global::System.Decimal weight, global::System.DateTime date, global::System.DateTime createDate)
 {
     smu_UserWeight smu_UserWeight = new smu_UserWeight();
     smu_UserWeight.UserWeightId = userWeightId;
     smu_UserWeight.UserId = userId;
     smu_UserWeight.Weight = weight;
     smu_UserWeight.Date = date;
     smu_UserWeight.CreateDate = createDate;
     return smu_UserWeight;
 }
Esempio n. 33
0
 /// <summary>
 /// Create a new t_Bank_data object.
 /// </summary>
 /// <param name="bd_id">Initial value of the bd_id property.</param>
 /// <param name="policy_no">Initial value of the policy_no property.</param>
 /// <param name="bank_ref_number">Initial value of the bank_ref_number property.</param>
 /// <param name="nric">Initial value of the nric property.</param>
 /// <param name="old_ic">Initial value of the old_ic property.</param>
 /// <param name="participant_name">Initial value of the participant_name property.</param>
 /// <param name="customer_address_1">Initial value of the customer_address_1 property.</param>
 /// <param name="customer_post_code">Initial value of the customer_post_code property.</param>
 /// <param name="property_type">Initial value of the property_type property.</param>
 /// <param name="property_address">Initial value of the property_address property.</param>
 /// <param name="property_post_code">Initial value of the property_post_code property.</param>
 /// <param name="risk_type">Initial value of the risk_type property.</param>
 /// <param name="policy_effective_date">Initial value of the policy_effective_date property.</param>
 /// <param name="policy_expired_date">Initial value of the policy_expired_date property.</param>
 /// <param name="sum_covered">Initial value of the sum_covered property.</param>
 public static t_Bank_data Createt_Bank_data(global::System.Int32 bd_id, global::System.String policy_no, global::System.String bank_ref_number, global::System.String nric, global::System.String old_ic, global::System.String participant_name, global::System.String customer_address_1, global::System.String customer_post_code, global::System.String property_type, global::System.String property_address, global::System.String property_post_code, global::System.String risk_type, global::System.DateTime policy_effective_date, global::System.DateTime policy_expired_date, global::System.Decimal sum_covered)
 {
     t_Bank_data t_Bank_data = new t_Bank_data();
     t_Bank_data.bd_id = bd_id;
     t_Bank_data.policy_no = policy_no;
     t_Bank_data.bank_ref_number = bank_ref_number;
     t_Bank_data.nric = nric;
     t_Bank_data.old_ic = old_ic;
     t_Bank_data.participant_name = participant_name;
     t_Bank_data.customer_address_1 = customer_address_1;
     t_Bank_data.customer_post_code = customer_post_code;
     t_Bank_data.property_type = property_type;
     t_Bank_data.property_address = property_address;
     t_Bank_data.property_post_code = property_post_code;
     t_Bank_data.risk_type = risk_type;
     t_Bank_data.policy_effective_date = policy_effective_date;
     t_Bank_data.policy_expired_date = policy_expired_date;
     t_Bank_data.sum_covered = sum_covered;
     return t_Bank_data;
 }