Expert C# 2008 Business Objects

data

returning, in web services 657-660

stacking 191

taking snapshots of 191-196

data access 97-106, 263-322, 380

local/remote 89

methods for 73

transactional/nontransactional 90

data access methods 266

client-side 281, 289-292

implementing, 289, 310

nontransactional server-side 302-305

switchable objects and 442

Data Access region 425

child collections 450

child objects 439

Project class and 470

ProjectResource class 497

ProjectResources class 507

read-only objects 453

Resource class 483

ResourceAssignments class 508

root objects 434

data-access tier 13

impact of distributed objects on 38

locating business logic in 24

redesigned logical architecture and 32

data-adapter objects (ADO.NET) 161

data binding 55-59, 80-84

benefits of 56

read-write properties and 223

report engines and 691

for Web Forms 56, 597, 603-610, 630

for Windows Forms 56, 182, 215, 534-538, 560

simplifying 540

data contention 6

data fields, borrowing 372

data-focused analysis 360

data-management tier 14

locating business logic in 22

data portals 66. See also entries at DataPortal

data providers (ADO.NET) 160

data-reader objects (ADO.NET) 160, 162, 347

reading data with 166

web development and 570

data schemes, storing state data in 576

data storage and management tier 14

locating business logic in 22

data structures, web services and 654, 659

defining 670-672

data transfer, avoiding 689

data types, working with 152-156

database diagrams 388-390

Database projects (VS .NET) 323

creating 331

database servers, batch processing and 745

database tables

creating 384-388

database diagrams for 388-390

databases 164

connection strings and 318-320

date formatting for 260

designing/creating for sample project- tracking application 383-402

security for 400-402

state data, storing in 576

DataBind method

Web Forms and 597

Windows Forms and 540-544

DataCopy method (ObjectAdapter class) 763

DataCopyIList method (ObjectAdapter class) 762

DataGrid controls

Web Forms 594-603, 611-616, 622-630, 640

Windows Forms and 215

DataListView control (Windows Forms) 534-536, 561

child objects and 543, 546

roles and 563

DataPortal, multiple name designations and 314

DataPortal class 87-106, 92

client-side 264, 276-292

referencing remoting assembly and 280

CSLA namespace and 110

nontransactional server-side 92, 292-306

creating 295

invoking 290

referencing 305

transactional server-side 92, 292, 306-312

creating 309

invoking 290

referencing 311

DataPortal server, configuring

for Web Forms UI 581

for Windows Forms UI 521

DataPortal_Create method

BusinessBase class 268

creating child objects and 441

Project class 471

Resource class 483

DataPortal_Delete method

BusinessBase class 269

Project class 477

Resource class 488

DataPortal_Fetch method

BusinessBase class 268

BusinessIdentity class 337-339

NameValueList class 355

helper function for 356

Project class 472

ReadOnlyBase class 274

ReadOnlyCollectionBase class 276

Resource class 485

SqlDataReader class 338, 357

DataPortal_Update method

BusinessBase class 268, 417

Project class 474-477

Resource class 487

DataRelation objects (ADO.NET) 161

DataRowView class (ADO.NET) 758

DataSet class (ADO.NET) 748-767

DataSet objects (ADO.NET) 161

reading multiple 171

web development and 570

DataTable class (ADO.NET) 749, 751

Fill methods and 763

populating from IList and 760-764

DataTable objects (ADO.NET) 161

DataView class (ADO.NET) 752

DataView objects (ADO.NET) 161

Date property (SmartDate class) 258

dates 251-261

arithmetic manipulation and 258

converting to/from text 254

DateToDate method for 257

empty 254, 346

GetDateTime/GetSmartDate methods for 348

SmartDate class for 76

writing to databases 260

DateTime data type 252, 346, 348

DateToDate method (SmartDate class) 257

DB method (BusinessBase class) 270-272

DCOM (Distributed Component Object Model), security and 7

Deactivate method (BatchQueueService class) 734

debugging

for batch processing 739-741

turning off, for projects 315

DeclaringType property (Type class) 289

decomposition 365

Default form (Web Forms) 583

DefaultRole property (Assignment class) 491

deferred deletion 205, 212, 436

delegates 59

Delete method

BusinessBase class 212, 436

DataPortal class 88

client-side 281, 292

nontransactional server-side 294, 304

transactional server-side 306

delete operation 104

deferred/immediate 205, 212, 436

handling manually 390

DELETE statement (SQL) 172

deleteAssignment stored procedure 395

DeleteChild method

BusinessBase class 212

BusinessCollectionBase class 236, 241

DeleteCommand event (.NET, DataGrid controls) 596, 600, 613

DeletedCollection class (BusinessCollectionBase class) 236

DeleteProject method (Project class) 553, 678

deleteProject stored procedure 391, 394

DeleteResource method (Resource class) 557, 628

deleteResource stored procedure 391, 398

demilitarized zone (DMZ) 19

deployment

no-touch. See no-touch deployment

XCOPY 769, 790

Dequeue method (BatchQueueService class) 736

Description property (.NET) 465

deserialization 135

assemblies and, finding in memory 783

no-touch deployment and 771

design

for applications 39, 359-404

for assemblies 110

basic goals of 42-69

for business objects 365-379

for frameworks 70-108

for objects 365-379

final design phase 378

for sample project-tracking application 359-404

Direction property (SqlParameter class, ADO.NET) 173

directory path , for application domains 777

Dispose method

IDisposable 422

SqlConnection class 165

distributed architecture 1-40

logical/physical architecture of 2-20

Distributed Component Object Model (DCOM), security and 7

distributed environments 689

distributed logic tier 24

distributed objects 30-39, 66

serialization and 135

Distributed Transaction Coordinator (DTC) 150

DLLs. See assemblies

DMZ (demilitarized zone) 19

DNA (Windows Distributed interNet Applications) 4

domain of trust 7

double-click operation 564

downloading code for this book xxii, 460

DTC (Distributed Transaction Coordinator) 150

duplicate objects, merging in design phase 369

dynamic SQL 167, 172

Категории