Hello everyone!
this is my case:

I've got 2 tables, previously created in SQL Server 2008:
    Invoice
    Details (with a foreign key to Invoice table)


Business Layer

then created a project in VS and added a class library (named backend
library), containing for each table:

    - entity base class: abstract class, defining the entity,
properties and mapping to table fields..
    - entity class: public class derived from the base class.


    - abstract controller class: defines methods to get and set values
of mapped fields in database tables. and methods to look for a key
field, delete, insert.
    - entity controller concrete class: derived from the abstract
controller class. Here I write my own code overriding methods for CRUD
operations in the database.

    - service class: exposes backend functionality by invoking
controllers methods.

Data Layer
implemented thru a series of dll files accessed by the entity base
classes.

Problem:
I need to use this backend library in a mvc web application in order
to do CRUD operations with invoices and details for each invoice.

Can someone help?

many many thanks!!


-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to