ASP.NET and Entity Framework in Layered Architecture - using Entity Framework for ORM only

后端 未结 6 1488
庸人自扰
庸人自扰 2021-01-30 05:19

I have an ASP.NET application that uses a layered architecture e.g. presentation layer, business logic layer, data access layer.

I don\'t want to the business layer to h

6条回答
  •  北海茫月
    2021-01-30 06:15

    Not with entity framework, but I had tried to create a sample with two insert stored procedures being executed separately in the data access layer(using data access application block 3.1), wrapped inside TransactionScope context in Service/BLL, it did not work. One insert passed, other one failed and data WAS commited.

    Did you have any success doing this yourself?

提交回复
热议问题