Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How is laziness supported in the relationships?

0
Posted

How is laziness supported in the relationships?

0

Signum Framework’s approach to liteness loading controls is both Explicit and Structural: • Explicit because it depends on you to determine if the entity is going to be retrieved or not (not transparent). • Structural because its defined in your entities relationships, not in the operations over them. Lite is the class that is used to indicate that a relationship is lite. This solution has two nice consequences: • Lazyness is part of an entity interface, so your business logic breaks at compile time and forces you to deal with it. (EntityControls however, know how to solve the situation) • This model allows sending entity graphs to the client application, where the DB is not available.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123