views:

53

answers:

1

Hi all

Totally new to Entity Framework .I have been asked to build a prototype using EF4.

This prototype should call an existing WCF Service Uses existing Tables and Stored Procedures Uses existing entities.(poco)

Before I go ahead with my prototype I would like to gain some experience on EF4.

I have decided to build a small project about Customer and orders that mimic the structure of my prototype.

Assemblies MyCompany.Entities Customer.cs Order.cs

MyCompany.Services.CustomerWCF ICustomerService.cs

MyCompany.BL.dll CustomerBL.cs

My questions: is it possible to use existing classes (poco) and use them with EF4? Is there an example I can download (possible wpf or winForm or just tests)that shows me how EF works In a NTier scenario using various assemblies EG(CustomerWCF.dll) CustomerEntities.dll ,CustomerDAL.dll

All i can find is everthing stuck in one project which does not illustrate how a wcf service communicates with EF4 when more than one assembly is used etc...

Any pointers ,code examples etc..