locked
pls Explain Architecture RRS feed

  • Question

  • Hi,

    DTO Layer

    class EmpDTO

    {

    // variables declares

    }

    DA Layer

    class EmpDAL

    {

    public void AddEmp(EmpDTO DTO)

    {

    // body of method

    }

    }

    BA Layer

    Class EmpBAL

    {

    EmpDAL DAL=new EmpDAL();

    public void AddEmp(EmpDTO DTO)

    {

    DAL.AddEmp(DTO);

    }

    }

    like the above architecture,in many articles Business layer contains only calling the DAL methods only

    but in explanation saying it is use to write business logic

    i want to know for what we use business layer

    we can write any logic here, if so how to write

    please give me nice sample code how we can use the architecture in real time projects

    thanks in advance

    waiting for reply....

    Saturday, February 9, 2013 9:43 AM

Answers