File properties in model with OData Library

Dec 12, 2011 at 9:58 AM

Hello, I need to ask a clarification about a property in my model that represents a file and is set as a byte[] type and is included in the Create() method of the model among the other parameters. 

When processed by the "odatagen" tool, all properties of my model and of the Create() method are all correctly present, except for the byte[] type parameter. 

The service automatically exposes the Create() method with all the correct parameters and I wonder why the byte[] one is not recognized 

Do I have to implement a different service or method to upload file? 

Thank you in advance