P

parameters, 75–78 parent classes, 70

parent/child relationship, 187–192, 206

.pdb files, 151

Pin To Source feature, 164–165 primary keys, 186–189, 191, 201 primitive types, 52–54

private modifier, 83 private variables, 85 product key, 8

Program class, 41–42, 44, 137 programming languages. See also languages

C#. See C# language C++, 31, 36, 154, 373 Delphi, 5

F#, 31, 36

included with VS 2010, 36 Visual Basic. See VB

programs. See also code debugging, 52, 156, 171 pausing execution of, 157 running, 51–52

project items, 21, 86, 116

Project Properties window, 118–122 projections, 198–199

projects. See also solutions adding to solutions, 117–118 artifacts, 116, 117, 136

ASP.NET MVC. See ASP.NET MVC “bare bones,” 36–39

build order, 131–132 building/rebuilding, 129–130 C#, 31, 33, 115–116, 150, 151 C# vs. VB, 115–116

Class Designer visualization, 137–138 Class Library, 119, 124, 125–129 cleaning, 130–131

compiler settings, 133–135 Console. See Console applications creating, 36–39, 115–116 database, 34

deleting, 116 dependencies, 131–133 folders, 116–118 hidden files, 117–118 hierarchical relationships, 116–118 location, 37

Microsoft Office, 34 modifying, 343–344 naming/renaming, 37, 115–116, 119, 126 navigating with Class view, 136

new, 31–32 optimizing, 131

organizing principles, 114–115 overview, 31–32

Index 423

property settings, 118–122 recent, 116

referencing assemblies, 122–129 resetting references, 126 saving as templates, 344–346 searching for, 38 SharePoint, 34

Silverlight, 285–298 sorting, 38

templates for. See templates types of, 30–34

viewing available, 30–32 viewing with Class Designer,

137–141

WCF. See WCF web, 33, 286 Windows Projects, 32–33 WPF. See WPF

properties accessors, 84 automatic, 85–86 debug, 150–155 declaring, 81–86 described, 81 example of, 83–84 projects, 118–122 setting, 228 using, 81–86

vs. fields, 83 Properties folder, 117, 118

Properties window, 118–122, 139, 227–233 property elements, 412–414

property snippet, 86 public access modifier, 74

Q

queries. See also LINQ to SQL on multiple tables, 205–210 object collections, 194–197 stored procedures, 192

QueryStatus method, 395–397 question mark (?), 162 Quick Watch window, 163–164

R

refactorings, 5 Reference Paths, 125 references

adding to COM objects, 124 assembly, 122–129

class libraries, 125–126 external .dll files and, 124 resetting, 126

Page 446
Image 446
Microsoft 9GD00001 manual Vs. fields, 83 Properties folder, 117