What exactly is “persistence ignorance”?

后端 未结 8 2130
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 05:01

Persistence ignorance is typically defined as the ability to persist & retrieve standard .NET objects (or POCOs if you really insist on giving them a name). And a seemin

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 05:54

    A persistant ignorant class, is a class that is not tied to a persistancy framework.

    That is, the class has absolutely no knowledge that there's a persistancy framework present, it does not inherit from a class that is defined by that framework nor does it implement an interface that is required for that persistance framework in order to work.

提交回复
热议问题