views:

15

answers:

0

Hi!

I've a WCF Service, that uses entity framework (with POCO objects).

One methods returns a list of users.

It was working correctly, but another method cannot insert anything because the database wasn't having "IDENTIY" setted on the primary key.

Since I've done that, regenerate the EDMX model, I've a problem to get my list of users: -In the client part I get all fields with 0, "", or NULL! -In the server part, the returned List contains all data!

Am I missing something? Should I add a [TagLike] in my POCO objects? They have actually an [DataContract(IsReference =true)] (due to cyclic reference user has group, and group has user)

In fact, if I remove the IsReference, it works but I've my cyclic references that makes problem again

Thank you!