CreateMockInstance_Generated() static public method

Returns a Typed EmployeePayHistory Entity with mock values.
static public CreateMockInstance_Generated ( TransactionManager tm ) : EmployeePayHistory
tm TransactionManager
return Nettiers.AdventureWorks.Entities.EmployeePayHistory
        ///<summary>
        ///  Returns a Typed EmployeePayHistory Entity with mock values.
        ///</summary>
        static public EmployeePayHistory CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            EmployeePayHistory mock = EmployeePayHistoryTest.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);
        }