LINQ quickly : a practical guide to programming language integrated query in C♯ /
A Practical Guide to Programming Language Integrated Query with C♯
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK ; [LaVergne, TN] :
Packt Pub.,
2007.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- LINQ Quickly; LINQ Quickly; Credits; About the Author; About the Reviewer; Preface; What This Book Covers; Conventions; Reader Feedback; Customer Support; Downloading the Example Code for the Book; Errata; Questions; 1. Overview; LINQ Architecture; Integration with SQL; Integration with XML; Support for C♯ 3.0 Language Features; Anonymous Types; Object Initializers; Collection Initializers; Partial Methods; Implicitly Typed Local Variables; Extensions; Expressions; Lambda Expressions; Query Expressions; Expression Trees; Summary; 2. LINQ to Objects; Array of Integers; Collection of Objects.
- Reading from StringsReading from Text Files; Summary; 3. LINQ to XML; Features; Class Library; Classes and Hierarchy; XElement Class; XAttribute Class; XDocument Class; Other Classes; LINQ to XML with Other XML Technologies; LINQ with XmlReader; LINQ with XSLT; LINQ with MSXML; Functional Construction; XML Names; Loading and Traversing XML; Loading XML; Traversing XML; Data Manipulation; ; Inserting or Adding Elements to XML; Inserting or Adding XML Attributes; Deleting XML; Updating XML; Deleting XML Attributes; Updating XML Attributes; Outputting and Streaming XML; Streaming XML.
- Querying XMLQuery Operators; Queries; Ancestors and Descendants; XML Transformation; Dictionaries; Convert Dictionary to XML; Create Dictionary from XML; Writing XML as Text Files and CSV Files; Reading from CSV Files; LINQ to XML Events; XML Literals and Embedded Expressions in Visual Basic; Summary; 4. LINQ to SQL; Working with Databases Using DataContext; Entity Classes; Attributes; Database Attribute; Table Attribute; Column Attribute; Association Attribute (Foreign Keys); Relationships; Function Attribute; Parameter Attribute; Inheritance Mapping Attribute.
- Creating and Deleting DatabasesDataContext Methods; Data Manipulation; LINQ to SQL Queries; Identifying Objects; Queries with Multiple Entities; Remote Queries and Local Queries; Deferred Loading; Immediate Loading; Projections; Constructing XML; Joins; Raw SQL Query; Query Result; Stored Procedures; User-Defined Functions; Class Generator Tool; Transactions; Handling Concurrency Conflicts; Object Relational Designer (O/R Designer); Summary; 5. LINQ over DataSet; Loading Data into DataSets; Querying Datasets; Sequence Operator; Querying Typed DataSets; DataSet Query Operators; CopyToDataTable.
- LoadDataRowIntersect; Union; Except; Field; SetField; Projection; Join; SequenceEqual; Skip; Distinct; Summary; 6. LINQ to XSD; Un-typed XML; Typed XML; Creating Typed XML using Visual Studio; Object Construction; Load Method; Parse Method; Save Method; Clone Method; Default Values; Customization of XML Objects; Mapping Time Customization; Compile Time Customization; Post Compile Customization; Using LINQ to XSD at Command Line; Summary; 7. Standard Query Operators; Restriction Operators; Where; OfType; Projection Operators; Select; SelectMany; Join Operators; Join; GroupJoin.