design-problem

How do I deal with business-object collection having millions of records in database ?

Here's the scenario. I have an application. Underlying database tables have millions of rows. Say table 'Books' has millions of rows. In the Application design, I have a custom business object Book and custom-collection BookCollection, to represent collection of books. We have written a tiny-ORM which is responsible for mapping between...

Abstract base class to force each derived classes to be Singleton

How do I make an abstract class that shall force each derived classes to be Singleton ? I use C#. ...

help me to choose between two designs

// stupid title, but I could not think anything smarter I have a code (see below, sorry for long code but it's very-very simple): namespace Option1 { class AuxClass1 { string _field1; public string Field1 { get { return _field1; } set ...