Ejemplo n.º 1
0
    public void DoThatThing()
    {
        var connection      = OpenSqliteConnection(databasePath);
        var allGizmoRecords = connection.Query(...);
        var businessObjects = TransformIntoBizObjs(allGizmoRecords);

        someOtherClass.HandleNewBizObjs(businessObjects);
    }
Ejemplo n.º 2
0
 public void DoThatThing()
 {
     BusinessObject[] entities = BusinessObject.FindAll()     /* built-in ActiveRecord call! */
                                 someOtherClass.HandleNewBizObjs(entities);
 }
Ejemplo n.º 3
0
 public void DoThatThing()
 {
     BusinessObject[] entities = repository.FindAll();
     someOtherClass.HandleNewBizObjs(entities);
 }