This question is locked. New answers and comments are not allowed.
I have the following code snippet which creates a detached copy of a contact...
EditableItem = Context.CreateDetachedCopy(SelectedItem, con => con.Picture,
con => con.MainAddress,
con => con.BillingAddress,
con => con.BankAccount,
con => con.Organization,
con => con.Discount);
Now if I look at my copy all data is there except the picture of the contact which is
a binary. I read the documentation about "Working with Streams" and "Attaching and Detaching"
but I wasn't able to get this up an running. So it would be great if you could help me
or provide me a sample where a binary stream is detached and then attached to the context.
Regards Alex
EditableItem = Context.CreateDetachedCopy(SelectedItem, con => con.Picture,
con => con.MainAddress,
con => con.BillingAddress,
con => con.BankAccount,
con => con.Organization,
con => con.Discount);
Now if I look at my copy all data is there except the picture of the contact which is
a binary. I read the documentation about "Working with Streams" and "Attaching and Detaching"
but I wasn't able to get this up an running. So it would be great if you could help me
or provide me a sample where a binary stream is detached and then attached to the context.
Regards Alex