What is Entity Framework fluent api?

前端 未结 5 1238
梦毁少年i
梦毁少年i 2021-01-30 00:45

I keep hearing about the Entity Framework fluent-api but I am struggling to find a good reference on this. What is it?

We use the entity framework and the modeling tool

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 01:25

    Responding to your POCO question: in the application I'm currently working on I'm using POCO's to pass data to my Silverlight front end (EF just wasn't cutting it). Essentially, I use the entities that the EF modeler created, massage them into a serializable-friendly version, and then send them back and forth over the wire. POCO's are there to provide a layer of abstraction when needed. I think of it as an adaption of the DAO pattern to serialization, instead of using it for DB access like the DAO pattern normally does.

提交回复
热议问题