Hehe yes I was trying to understand the doc, tx for the tip I'll try to serialize modified entity to see how it's done.
In the doc it's say that the bit are placed in the order of FieldIndex with 2 bit for each field.
But: How to know the fieldindex of a field ?
I know it's not clear so if I've this output:
<OrderEntity ObjectID="d8117794-675c-45ce-bd97-f23c22391039">
<OrderId>10746</OrderId>
<CustomerId>CHOPS</CustomerId>
<EmployeeId>1</EmployeeId>
<OrderDate>1997-11-19T00:00:00.0000000+01:00</OrderDate>
<RequiredDate>1997-12-17T00:00:00.0000000+01:00</RequiredDate>
<ShippedDate>1997-11-21T00:00:00.0000000+01:00</ShippedDate>
<ShipVia>3</ShipVia>
<Customer Ref="df7c7b33-1fd2-4fe9-b3b4-ec8d00eeebed" />
<NullableDateTime></NullableDateTime>
<CompanyName>Foo Inc.</CompanyName>
<NullableDec></NullableDec>
<NulledString></NulledString>
<_lps fs="AACAAA==" es="1" />
</OrderEntity>
Ok I modify the "CompanyName" so to change the the bitarray I need to know the fieldindex of the field "CompanyName". How can I have this info ?
I know Compact25 is for communication between 2 components that have the entity schema, so I know I use it in a quite strange way. I took this format because I'm making web components (in javascript!!) that are taking and modifying entity(collection) via ajax. So I need the most compact format.
Then I'll have to find away to handle the bit array .. in javascript I don't think it'll be easy
. Yes it's not yet finished