Thank you for your reply.
'RuntimeTypeModel.Default
.Add(type(Customer), false)
.Add(1, Id)
.Add(3, Name);'
Is it the script in the .proto file?
What I want to do is just use the configuration to instead of the
Attribute, because I want to use the binary
This is a protobuf-net specific question. The answer to that depends on
what you want to do. And I should stress that using attribute decoration is
a lot simpler (and is what you get if you start from .proto). But basically:
RuntimeTypeModel.Default
.Add(type(Customer), false)