Archives

Archives / 2008 / August
  • Using LINQ to SQL XML Mapping Files – Step by Step

    .NET 3.5’s LINQ to SQL functionality provides a great way to write data access layer code that automatically handles mapping relational data to object properties.  Although I generally prefer to use stored procedures when performing insert, update or delete operations against a database (see my previous post on this), I still use LINQ to SQL in projects since it eliminates the time I used to spend creating SqlParameter objects or writing AddWithValue() parameter statements.  Overall, LINQ to SQL has made me much more productive as a developer.

  • Syncing a Windows Mobile Device Emulator with Vista’s Mobile Device Center

    I started working on a Windows Mobile application on Vista and couldn’t get the emulator to sync property with the Mobile Device Center.  I’d synced device emulators long ago on XP with ActiveSync but just couldn’t get it working like I wanted on Vista.  I had the different 6.0 and 6.1 SDKs installed, had the Cellular Emulator working perfectly with the device emulator but couldn’t sync to save my life.  I needed to move over a C++ dll that needed to live in the device emulator’s Windows directory.  After a lot of searching it turns out that all I had to do was enable DMA in the connection settings for the Mobile Device Center as shown next:

comments powered by Disqus