///<summary> /// Update the Typed SalesTerritoryHistory Entity with modified mock values. ///</summary> static public void UpdateMockInstance(TransactionManager tm, SalesTerritoryHistory mock) { SalesTerritoryHistoryTest.UpdateMockInstance_Generated(tm, mock); // make any alterations necessary // (i.e. for DB check constraints, special test cases, etc.) SetSpecialTestData(mock); }
///<summary> /// Returns a Typed SalesTerritoryHistory Entity with mock values. ///</summary> static public SalesTerritoryHistory CreateMockInstance(TransactionManager tm) { // get the default mock instance SalesTerritoryHistory mock = SalesTerritoryHistoryTest.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); }