2

How can I generate dbml file (with Sqlmetal.exe) with appropiate WCF attributes (DataMember, DataContract etc)?

for example: I have Client table with columns: ClientID, Name, IP, City, Phone

I'd like make Client class generated in dbml as [DataContract] and Name and IP as [DataMember]

?

Gert Arnold
  • 105,341
  • 31
  • 202
  • 291
Saint
  • 5,397
  • 22
  • 63
  • 107

1 Answers1

2

i think this post in msdn blogEnabling .dbml file for WCF can be usefull

DeveloperX
  • 4,633
  • 17
  • 22