Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Entity Enhancements

If you want some more info about detaching, cloning, and serialization, take a look at this quick overview!

Widget Connector
width500
urlhttp://www.youtube.com/watch?v=uP7dvVZpUUI&feature=player_embedded
height310

Detach

Inability to detach is what coders have complained about most when working with LINQ to SQL. Well, complain no more. PLINQO makes it easy to work with entities independent from a datacontext and attach to another when you are ready to save your changes. The following code is now possible thanks to PLINQO.

...

Code Block
languagecsharp
Task task = context.Task.GetByKey(1);
string xml = task.ToXml();
byte[] b = task.ToBinary();

 

Deserialization is also made simple with PLINQO

Code Block
languagecsharp
task = Task.FromXml(xml);
task = Task.FromBinary(b);

...

Next: Enum Generation