/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





In a prior post here , I created an XML file using VB 9 (Visual Basic 2008/.NET Framework 3.5). This post demonstrates how to read that file and reconstitute the list of customers. This code reads the XML into an XElement: Dim customerXml As XElement = XElement.Load("customers.xml") This code processes the XML and rebuilds the list of customers: ' Repopulate the business objects Dim customerList as New List(Of Customer) For Each c As XElement In custom ... [ read more ]
A stored procedure is a set of structured query language (SQL) statements that provide a particular operation on the data (or structure) of a database and are stored within the database. For example, a retrieval stored procedure contains a Select statement to select a set of data from one or more tables in a database and return the results. CREATE PROCEDURE dbo.CustomerRetrieveAll AS     SELECT            Cust ... [ read more ]
I’ve blogged before about implementing validation on LINQ to SQL classes as well as how to customize the display of error messages in WPF . In this post I want to show how you can use these same techniques to validate entities coming from the Entity Framework (EF). Like LINQ to SQL classes, Entity Framework entities are implemented as partial classes so that you can extend them with your own code on top of the code that the designers generate for you. You can extend EF entities in a simila ... [ read more ]


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC