Code First Interface File Generation

net

(Joel Zimmer) #1

I have just recently converted a .Net Server from RODL to Code-First and created a few classes to test. I have noticed that if the class is not used within a “ServiceMethod” that it is not generated to the client. How can I force the class to be generated in the client interface file?


(marc hoffman) #2

I don’t believe you can, currently.

Out of curiosity, whats your use case here why you’d need the class in the interface, if its not used in the communication. Just for convenience?


(Joel Zimmer) #3

Basically just for convenience. If I keep everything together, I can maintain documentation of classes easier.