Thursday, June 28, 2007

 

SQLMetal and Linq to SQL designer will use the same DBML schema from Beta 2

As declared by Jay Hickerson from Microsoft, starting with Beta 2 the code generated by SQLMetal tool and Linq to SQL designer will be the same since they share the same DBML schema.

Labels: , , ,


Friday, June 08, 2007

 

Contains() method in Beta 2

New info from official LINQ forum. This time is the Contains() method the main actor. It will be released a new Contains() prototype in LINQ to SQL framework that accepts an object array. This will be translated in the SELECT ... IN ... statement allowing us to select just the value included in the array.

Labels: , , ,


Wednesday, June 06, 2007

 

CommandTimeout property will be added to DataContext class

Reading the official forum and this thread, Matt said that the CommandTimeout property will be added in the next release of LINQ to SQL.

Labels: , , ,


Saturday, June 02, 2007

 

New events added in Beta 2

LINQ's Beta 2 will add some new events support. When you use SubmitChanges() the Validate event will be raised. Catching this event you will be able to validate your data before they will be inserted into the database.

You also be able to implement:

OnLoaded() -- called after loaded by DataContext
OnCreated() -- called any time an entity is constructed

Thanks to Matt Warren for the info.

Labels: , , ,


 

DataShape class will be renamed in beta 2

As stated by Matt Warren in this thread of the official LINQ forum the DataShape class will be renamed into DataLoadOptions and its property Shape will become LoadOptions.

That's the reason: "We had too many people thinking that the 'shape' was being enforced throughout the lifetime of the DataContext when it only realy controls the initial loading of the data. I still like 'Shape' better, but c'est la vie."

Labels: , , ,


This page is powered by Blogger. Isn't yours?