WCF attributes and linq to sql

682 views Asked by At

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]

?

1

There are 1 answers

0
DeveloperX On BEST ANSWER

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