The persistence will look like a doc DB (well... pardon me... it will
On 4 mayo, 17:22, Marc Gravell <
marc.grav...@gmail.com> wrote:
> "v2" does all of this, and more. The existing ("v1") attributes essentially
> just become the /default/ implementation. There is a new "TypeModel" class
> (for want of a better name), which functions a bit like "XmlSerializer",
> "DataContractSerializer", etc.
>
> - You can have as many TypeModel instances as you like, representing
> different data or the same data with different schemas.
> - TypeModel is abstract; there is a concrete RuntimeTypeModel, which you can
> configure with types (classes and structs) / fields / callbacks /
> inheritance / surrogates / enums / etc to your heart's content
> - There is *full* inbuilt meta-programming, so you can use CompileInPlace()
> to compile a RuntimeTypeModel in-situ (useful for conventions etc)
> - Or you can even use Compile() to write the model to a standalone dll with
> a separate concrete TypeModel implementation matching your model - useful
> for things like iPhone, Phone 7
>
> The "v2" stuff is incomplete but fairly stable. It should be ready in a few
> weeks. It is available in SVN if you want to try it, but there are still
> some gaps (primarily extension data, mapped enums [unmapped enums are fine,
> though] and the *WithLengthPrefix etc variants).
>
> Does that serve?
>
> Marc
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Protocol Buffers" group.
> > To post to this group, send email to
prot...@googlegroups.com.
> > To unsubscribe from this group, send email to