Compartilhar via


What's new in the VS 2008 SP1?

Visual Studio 2008 SP1 introduces significant new functionality as ADO.NET expands and evolves to change the way that we program against data.

Between the Visual Studio 200 SP1 beta and RTM , there are a number of fixes and even a few new things to be found. What's in ADO.NET? Check out the list below for what's new in the Entity Framework and Entity Designer.

 

Entity Framework Runtime

Object Services

  • Navigation properties are exposed as property descriptors and are available for data binding ObjectQuery results in WinForms and WPF applications.
  • More consistent handling of available data binding property descriptors that are not dependent on the query result.
  • The RelationshipSet for an EntityCollection or EntityReference is exposed on these classes.
  • IRelatedEnd.IsLoaded property now correctly reflects the state of the relationship after MergeOption.PreserveChanges and MergeOption.OverwriteChanges queries.
  • Entities that self-reference can now be used with Attach and AttachTo

EntityDataSource

  • Event model for the EntityDataSource has been updated. See the Visual Studio 2008 SP1 Breaking Changes post for details on the new event classes.
  • Null values are supported on primitive type columns
  • Data bound controls can now sort on each field
  • Ability to “Refresh Schema” from data bound controls through the Visual Studio ASP.NET page designer now provides an error report in cases where the query cannot be executed successfully.
  • Parameter.DbType is now supported with parameters to the EntityDataSource.
  • EntityDataSource design time experience now uses standard mechanisms to locate and load metadata assemblies. This requires the metadata assembly to be built prior to the EntityDataSource configuration wizard to locate the assembly.

Entity Designer

Between the last beta and RTM we fixed well over 200 bugs across multiple areas in the Entity Designer. Most notably, the undo/redo performance for common operations (e.g. creation and deletion of entities)  and “Update Model from Database” performance have been significantly improved. Here’s a bird’s eye view of some of the other things we’ve made better:

  • Improved layout performance when using “Update Model from Database”
  • Support for panning the diagram with the mouse scroll wheel
  • Zoom level is correctly saved after undo/redo and when the EDMX file is saved
  • Fixed various accessibility and high contrast bugs
  • Source control: EDMX file written out by the designer is formatted better than before to alleviate many issues with merging in source control scenarios
  • Source control: App.Config is now checked out correctly when the wizard tries to add a connection string to it
  • Source control: Custom Tool is no longer empty after Getting EDMX file from SourceSafe in ASP.NET website project
  • F1 help is integrated with MSDN online
  • Building a Project with an EDMX file in solution with a Setup project works correctly
  • Validation: correctly accounts for RI constraints
  • Validation: fixed incorrect error message when types are mapped with condition
  • Validation: fixed incorrect designer validation error when there’s no run-time error
  • Validation: accounts for multiple conditions in mapping
  • Validation: conditions on abstract types correctly validated
  • The “Create Function Import” dialog has been improved

Comments

  • Anonymous
    August 11, 2008
    PingBack from http://www.easycoded.com/whats-new-in-the-vs-2008-sp1

  • Anonymous
    August 11, 2008
    Comme je vous le disais tout à l'heure, le SP1 de VS 2008 est sorti. Mais la question que vous vous posez

  • Anonymous
    August 11, 2008
    I got the error after installing SP1... pressed Yes... and on the next run got: The Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage, Microsoft.Data.Entity.Design.Package, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ({8889E051-B7F9-4781-BB33-2A36A9BDB3A5}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.

  • Anonymous
    August 11, 2008
    Nachdem meine Ankündigung gestern eher spartanisch ausgefallen ist, möchte ich heute noch ein paar Links

  • Anonymous
    August 12, 2008
    You've been kicked (a good thing) - Trackback from DotNetKicks.com

  • Anonymous
    August 12, 2008
    Somasegar's WebLog : Service Pack 1 for VS 2008 and .NET FX 3.5 released! (소식) Download details Visual

  • Anonymous
    August 20, 2008
    The comment has been removed

  • Anonymous
    August 20, 2008
    has released . w00t! For the XML Tools team this is an especially big release since SP1 is the vehicle

  • Anonymous
    October 05, 2008
    I have this message on VS run:


Microsoft Visual Studio

Package Load Failure Package 'Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage, Microsoft.Data.Entity.Design.Package, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {8889E051-B7F9-4781-BB33-2A36A9BDB3A5} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading. How can I avoid this?

  • Anonymous
    November 27, 2008
    Hi, i am new in .net. can you please tell me how i instal silverlight, mvc frame work and ado.net frame work for my project. i am using visual studion 2008 professional edittion. Thanks in advance.

  • Anonymous
    November 28, 2008
    Has anyone successfully done the mapping of an oracle stored procedure for insert with EF and mapped the resultbinding columns to get the ID back for the insert. I am ending up with an error The data reader is incompatible with the specified 'CSRModel.TESTTABLE'. A member of the type, 'ID', does not have a corresponding column in the data reader with the same name.. If anyone has successfully done this please could you post the Oracle insert stored procedure.