|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Technewlogic.Stasy.Framework;
using Technewlogic.Stasy.Test.Model;
using Technewlogic.Stasy.Framework.Proxy;
using Technewlogic.Stasy.Framework.UnitOfWork;
namespace Technewlogic.Stasy.Test.AggregateLinkTests
{
[TestFixture]
public class Remove
{
private Engine<CrmContext> _engine;
private CrmContext _context;
private Customer _sundk;
private Order _cmms;
private Material _hardware;
[TestFixtureSetUp]
public void TestFixtureSetUp()
{
}
[SetUp]
public void SetUp()
{
_context = new CrmContext();
_engine = EngineFactory.CreateEngine(
new DataContextMockSyncProvider(new DataContextMock()),
_context);
_sundk = _context.Customers.Single(c => c.Name == Customer.SKName);
_cmms = _sundk.Orders.Single(o => o.OrderID == "a-4711");
_hardware = _cmms.Materials.Single(m => m.DefinitionID == "HW-01");
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.