 |
Customer Service or Enrol: 0800 282 353 or +44 1372 364610 |
 |
|
 |
| |
You Will Learn How To
- Develop data-centric Visual Basic applications with extended language features
- Exploit Language INtegrated Query (LINQ) to integrate diverse data sources
- Map objects to relational data sources
- Manipulate, filter and group data using LINQ queries
- Leverage VB to write stored procedures
- Parse and create XML documents with LINQ
Course Benefits With the introduction of .NET 3.5 extended features, including LINQ, Visual Basic has evolved into a full data-manipulation language. .NET 3.5 extended features enable programmers to overcome many of the difficulties encountered working with disparate data sources, such as relational databases, XML and object data. In this course, you learn how to apply extended features to programming problems.
Who Should Attend Experienced Visual Basic programmers who want to improve their software development capabilities by using the new and extended language features, and in particular Language Integrated Query (LINQ). Visual Basic Programming experience at the level of Course 503, "Visual Basic 2008 Programming", is assumed.
Hands-on Training Through an extensive case study, you gain experience applying VB extended features and LINQ. Exercises include:
- Applying new Visual Basic shortcut features
- Retrieving results using LINQ queries
- Processing objects and data to insert, update and delete with LINQ
- Integrating in-memory objects, relational databases and XML
- Entity-class publishing using the O/R Designer tool
- Parsing XML documents using LINQ
- Building stored procedures with Visual Basic
Course Content
- Review of three-tier OO application architecture
- Data access and data processing
- Polymorphism
- Inheritance
- Encapsulation
- Implementing to an interface
- Working with generic collections
- Applying auto-implemented properties
- Benefiting from implied-type declaration
- Instantiating entity objects
- Comparing constructors with object initialisers
- Alternative object initialisation
- Coding LINQ queries
- Ordering data and objects
- Filtering data and objects using where
- Interfacing between VB and LINQ using IEnumerable<T>
- Converting from IEnumerable<T> to List<T>
- DataSet objects vs. generic lists
- SqlDataReader vs. IEnumerable<T>
- Processing data-tier information
- Specifiying a connection string
- Attaching to a database with LINQ
- Working with table and entity classes
- Mapping objects to relational databases with the Object Relational Designer (O/R Designer) tool
- Inserting, updating and deleting data
- Error handling and exceptions
- Committing and rolling back transactions
- Constructing lambda expressions
- Specifying where and orderby constraints
- Making code more flexible with delegates
- Sorting with delegates
- Streamlining code with anonymous types
- Selecting data from multiple sources with selectmany
- Retrieving unique results with distinct
- Combining multiple results with join
- Aggregating with average and count
- Limiting result sets with take
- Discarding results with skip
- Choosing data with union, intersect and accept
- Collating with group by
- Creating hierarchical data structures with groupjoin
- Writing stored procedures in VB
- Calling stored procedures
- Processing data with LINQ
- Integrating results sets
- Retrieving the document, elements and attributes
- Parsing an XML document using LINQ
- Creating XML directly: XML literals
- Embedding XML literals in dynamic expressions
|
Visual Basic is a registered trademark of Microsoft Corporation.
|
|
|
|
 |
|
|

|
 | | Participants applying extended Visual Basic features. |
|
|
|
| |
| Customer Service or Enrol: 0800 282 353 or +44 1372 364610 |
 |
|