/// <summary>
/// BLL Layer
/// </summary>
public class TestService : ContextBoundObject
{
public void Test(TestModel paramA, string paramB, int paramC)
{
TestDac dac = new TestDac();
dac.Test(paramA, paramB, 10);
}
}
[/code]
(DAL 層)Dac - TestDac:
[code lang="cpp"]
/// <summary>
/// DAL Layer
/// </summary>
public class TestDac : ContextBoundObject
{
public void Test(TestModel paramA, string paramB, int paramC)
{
// TODO
}
}
/// <summary>
/// BLL Layer
/// </summary>
[InterceptorOfService]
public class TestService : ContextBoundObject
{
public void Test(TestModel paramA, string paramB, int paramC)
{
TestDac dac = new TestDac();
dac.Test(paramA, paramB, 10);
}
}
[/code]
(DAL 層)Dac - TestDac:
[code lang="cpp"]
/// <summary>
/// DAL Layer
/// </summary>
[InterceptorOfDac]
public class TestDac : ContextBoundObject
{
public void Test(TestModel paramA, string paramB, int paramC)
{
// TODO
}
}