We've been working on an n-tier project using DevForce for sometime now.
Recently, we have gotten inquires about end-users wanting an API so
that they can access data for reporting use and integrating with other
systems (such as Oracle).
What we are wanting to do is create an API that uses IdeaBlade to access
our database, and to validate new records (such as adding new
customers). But what the end-user works with are generic Visual Studio
tools. For instance, our database has an entity type called 'Customer'.
If the end-user requests a list of all customer, then each 'Customer' is
converted to a more generic 'cCustomer' type that is defined in the API
and not part of the IdeaBlade persistencemanager. It is then this
'cCustomer' class that the end-user works with. This is to provide a
level of isolation from our database and keep the end-user from even
needing to know about the IdeaBlade tools.
We would like to package the needed IdeaBlade dll's inside the Model.dll
so that all the end-user sees is the model.dll and the apphelper.dll
that they would include in their interface project. Unfortunately, we
have not found a way to do this. Is there a way to accomplish this, or
is there another option for doing something similar?
|