示例#1
0
        ///<summary>
        ///  Update the Typed PaymentOrder Entity with modified mock values.
        ///</summary>
        static public void UpdateMockInstance(TransactionManager tm, PaymentOrder mock)
        {
            PaymentOrderTest.UpdateMockInstance_Generated(tm, mock);

            // make any alterations necessary
            // (i.e. for DB check constraints, special test cases, etc.)
            SetSpecialTestData(mock);
        }
示例#2
0
        ///<summary>
        ///  Returns a Typed PaymentOrder Entity with mock values.
        ///</summary>
        static public PaymentOrder CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            PaymentOrder mock = PaymentOrderTest.CreateMockInstance_Generated(tm);

            // make any alterations necessary
            // (i.e. for DB check constraints, special test cases, etc.)
            SetSpecialTestData(mock);

            // return the modified object
            return(mock);
        }