Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
Create Procedure [dbo].[ReturnMultiplResultSets]
As
Select * From [User]
Select * From [Task]

 

Now we have a stored procedure returning multiple result sets and here is how PLINQO will handle it.

...

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: Customization & Refactoring