Index
A
- ACID principles
- Atomic / Atomic
- Consistent / Consistent
- Isolation / Isolation
- Durability / Durability
- Act
- about / Arrange, act, assert
- Application Programming Interface (API)
- Arrange
- about / Arrange, act, assert
- AsEnumerable method
- about / AsQueryable and AsEnumerable
- AsQueryable() method / How it works...
- AsQueryable method
- about / AsQueryable and AsEnumerable
- Assert
- about / Arrange, act, assert
- atomic execution
- about / Atomic execution
- AuditableEntity
- about / How it works...
- audit data
- capturing / Capturing the audit data, How to do it...
- working / How it works...
- AuthorDetailValidatorAttribute / How to do it...
B
- behavior
- about / Introduction
- BlogContext class / How to do it...
- blog entity
- about / How it works...
- BlogMapping class / How to do it..., How to do it..., How to do it..., How to do it..., How to do it...
- BlogQueries class / How to do it...
- BusinessLogic project / How to do it..., How to do it...
C
- caching
- about / Repository and caching
- call per change, unit of work pattern / Call per change
- change tracker / Action taken
- chess
- URL / Chess
- Client wins concurrency conflict resolution
- about / Client wins
- code
- databases, creating from / Creating databases from code, How to do it..., How it works...
- code-first approach
- used, for improving Entity Framework / Improving Entity Framework by using code first, How to do it..., How it works...
- Code First
- about / Understanding the Html helper
- collection properties
- validating / Validating collection properties, Getting ready, How to do it...
- collection properties validation
- working / How it works...
- reusability, limiting / Limiting reusability
- internal structure, validating / Validating the internal structure
- column mapping
- about / Column Mapping
- complex key maps
- handling / Getting ready, How to do it..., How it works...
- complex properties
- validating / Validating complex properties, How to do it...
- complex properties validation
- working / How it works...
- about / There's more...
- base class logic, reusing / Reusing the base class logic
- all at once validation, performing / Performing all at once validation
- complex query scenarios
- improving / Introduction
- dynamic sorting, improving / Improving dynamic sorting, Getting ready, How to do it...
- runtime, grouping without Lambda / Grouping at runtime without Lambda, How to do it...
- explicit loading, handling / Handling explicit loading, How to do it...
- complex where clauses, improving / Improving complex where clauses, How to do it...
- specification pattern, implementing / Implementing the specification pattern, How to do it...
- complex where clauses
- improving / Improving complex where clauses, How to do it...
- working / How it works...
- componentization
- about / Separation of concern
- compose-able LINQ
- about / Compose-able LINQ
- composed queries
- implementing / Implementing composed queries, How to do it...
- working / How it works...
- ConcurrencyTests / How to do it...
- ConsoleApp project / How to do it...
- content validation
- about / Introduction
- ControllerTests
- about / How to do it...
- convention, over configuration
- about / Convention over configuration
- cost of architecture
- about / Cost of architecture
- created by field
- created date field
- custom property validation
- creating / Creating custom property validation, How to do it...
- working / How it works...
- coupling / Coupling
- complexity, avoiding / Avoiding complexity
D
- DataAccess project / How to do it...
- database-first approach / Introduction
- DataBase Administrators (DBAs) / Testing queries
- databases
- creating, from code / Creating databases from code, How to do it..., How it works...
- creating / Configuration and creation
- configuring / Configuration and creation
- load testing, performing against / Performing load testing against a database, How to do it..., How it works...
- data race conditions
- about / Data race conditions
- data retrieval
- handling, in highly-threaded environments / Handling data retrieval in highly-threaded environments, How to do it...
- working / How it works...
- Client wins concurrency conflict resolution / Client wins
- Store Wins concurrency conflict resolution / Store wins
- custom determined / Custom determined
- Data Transfer Object (DTO)
- about / Column Mapping
- DbContext
- about / How it works...
- DbEntityEntry / DbEntityEntry
- deferred execution
- about / Deferred execution
- dependency inversion principle
- about / Dependency inversion principle
- developer discipline
- about / Developer discipline
- Display method / How to do it...
- DRY principle / How it works..., Don't repeat yourself (DRY)
- dynamic sorting
- improving / Improving dynamic sorting, Getting ready, How to do it...
- functioning / How it works...
- expression trees / Expression Trees
- deferred execution / Deferred execution
- encapsulation / Encapsulation
E
- eager load
- versus lazy load / Considering eager versus lazy
- entities
- retrieving, with stored procedures / Retrieving entities with stored procedures, Getting ready, How to do it...
- updating, with stored procedures / Updating entities with stored procedures, How to do it...
- entity and library reuse
- improving / Improving entity and library reuse, How to do it...
- Entity Framework
- about / Introduction, Introduction
- improving, code-first approach used / Improving Entity Framework by using code first, How to do it..., How it works...
- convention, over configuration / Convention over configuration
- mock database connections, creating / Creating mock database connections, How to do it..., How it works...
- repository pattern, implementing / How to do it..., How it works...
- unit of work pattern, implementing / Implementing the unit of work pattern, How to do it..., How it works...
- queries, testing / Testing queries, How to do it..., How it works...
- databases, creating from code / Creating databases from code, How to do it..., How it works...
- queries, testing for performance / Testing queries for performance, How to do it..., How it works...
- load testing, performing against database / Performing load testing against a database, How to do it..., How it works...
- content validation / Introduction
- structure validation / Introduction
- simple properties, validating / Validating simple properties, How to do it...
- complex properties, validating / Validating complex properties, How to do it...
- collection properties, validating / Validating collection properties, Getting ready, How to do it...
- custom property validation, creating / Creating custom property validation, How to do it...
- MVC UI, improving with entity framework validation / Improving MVC UI with entity framework validation, How to do it...
- transaction scopes, using / Using transaction scopes, How to do it...
- multiple context transactions, handling / Handling multiple context transactions, How to do it...
- stored procedures, executing / Executing stored procedures, How to do it...
- entities, retrieving with stored procedures / Retrieving entities with stored procedures, Getting ready, How to do it...
- entities, updating with stored procedures / Updating entities with stored procedures, How to do it...
- reusable queries, creating / Creating reusable queries, How to do it..., How it works...
- entity and library reuse, improving / Improving entity and library reuse, How to do it...
- composed queries, implementing / Implementing composed queries, How to do it...
- performance, increasing with code access / Increasing performance with code access, How to do it...
- query testing, improving / Improving query testing, How to do it..., How it works...
- complex query scenarios, improving / Introduction
- optimistic concurrency, implementing / Implementing optimistic concurrency, How to do it...
- parallel contexts, managing / Managing parallel contexts, How to do it...
- data retrieval, handling in highly-threaded environments / Handling data retrieval in highly-threaded environments, How to do it...
- objects, attaching with unit of work / Attaching objects with unit of work, How to do it...
- multiple context performance, improving / Improving multiple context performance, How to do it...
- soft delete, handling / Handling soft delete, How to do it...
- refreshing data on save, implementing / Implementing refreshing data on save, How to do it...
- EntityState / EntityState
- EntityKey / EntityKey
- DbEntityEntry / DbEntityEntry
- audit data, capturing / Capturing the audit data, How to do it...
- MVC 3 applications, improving / Improving MVC 3 applications, How to do it...
- Entity Framework 4.1 assemblies
- installing / Getting ready
- Entity Framework Code First Power Toys / Finding tools to help
- Entity framework interceptors
- about / Entity framework interceptors
- Entity Framework profiler
- about / Query performance
- EntityKey / EntityKey
- EntityState / EntityState
- explicit loading
- handling / Handling explicit loading, How to do it...
- functioning / How it works...
- expression of function
- about / Expression of function of T
- expression trees
- about / Expression Trees, Expression trees
- extension methods
- about / Extension methods
F
- Fluent Configuration API
- property maps, improving / Improving property maps, How to do it..., How it works..., There's more...
- ToTable(tableName,schemaName) / More fluent configurations
- HasColumnOrder() / More fluent configurations
- IsUnicode() / More fluent configurations
- IsConcurrencyToken() / More fluent configurations
- one-to-one maps, creating / Creating one-to-one maps, How to do it..., How it works...
- HasOptional() / Using more fluent configurations
- Map() / Using more fluent configurations, More fluent configurations, More fluent configuration
- WithRequiredPrinciple() / Using more fluent configurations
- WithRequiredDependant() / Using more fluent configurations
- one-to-many maps, creating / Getting ready, How to do it..., How it works..., There's more...
- WithOptional() / More fluent configurations
- HasForeignKey() / More fluent configurations
- many-to-many maps, creating / Getting ready, How to do it..., How it works...
- single table, mapping to multiple objects / Mapping one table to many objects, How to do it..., How it works...
- multiple tables, mapping to single object / Mapping many tables to one object, How to do it..., How it works...
- inheritance handling, based on database values / Handling inheritance based on database values, How to do it..., How it works...
- complex key maps, handling / Getting ready, How to do it..., How it works...
G
- grouped sets of data
- composing, into queryable set / Grouping at runtime without Lambda, How to do it...
H
- HasColumnIOrder() method / How it works...
- HasColumnType() method / How it works...
- HasDatabaseGeneratedOption() method / How it works...
- HasKey() method / How it works..., How it works...
- HasMany() method / How it works..., How it works...
- HasMaxLength method / How it works...
- HasRequired() method / How it works...
- HomeController
- about / How to do it...
- Html helper
- about / Understanding the Html helper
I
- IBlogRepository / How to do it...
- ICommandObject
- about / How it works...
- IDbContext
- about / How to do it...
- IEnumerable / IEnumerable
- Include() method / Considering eager versus lazy
- inheritance
- handling, based on database values / Handling inheritance based on database values, How to do it..., How it works...
- InMemoryRepository class / How to do it...
- integration tests
- about / Integration tests
- IntelliTrace
- about / Query performance
- interface segregation principle
- about / Interface segregation principle
- InternalBlogContext class / How to do it...
- IQueryable<T> / IQueryable<T>
- IQueryObject
- about / How it works...
- IQueryObject<out T>
- about / How it works...
- IRepository interface / Interface segregation principle
- IScalarObject
- about / How it works...
- IsConcurrencyToken(true) method / How it works...
- IsMaxLength() method / How it works...
- isolation
- about / Isolation
- IsOptional method / How it works...
- IUnitOfWork interface / Interface segregation principle
L
- Lambda statements
- about / Lambda statements
- lazy load
- versus eager load / Considering eager versus lazy
- LINQ aggregate
- about / LINQ aggregate
- LINQ statement / Testing queries
- load testing
- performing, against database / Performing load testing against a database, How to do it..., How it works...
- locking
- about / Locking
M
- Manual tracing
- about / Query performance
- many-to-many maps
- creating / Getting ready, How to do it..., How it works...
- Map() method / How it works...
- mapping storage
- about / Mapping storage
- Microsoft ASP.NET
- about / Model-View-Controller
- mock database connections
- creating / Creating mock database connections, How to do it..., How it works...
- one object, under test / One object under test
- mocking
- about / Mocking
- mocks
- about / Mocking
- Model-View-Controller (MVC)
- about / Model-View-Controller
- modified by field
- ModifiedDate / How it works...
- modified date field
- multiple context performance
- improving / Improving multiple context performance, How to do it...
- multiple context transactions
- handling / Handling multiple context transactions, How to do it...
- working / How it works...
- ACID principles / There's more...
- multiple objects
- single table, mapping to / Mapping one table to many objects, How to do it..., How it works...
- multiple tables
- mapping, to single object / Mapping many tables to one object, How to do it..., How it works...
- MVC 3 applications
- improving / Improving MVC 3 applications, How to do it...
- working / How it works...
- MVC 3 Framework
- about / Model-View-Controller
- MVC UI
- improving, with entity framework validation / Improving MVC UI with entity framework validation, How to do it...
- working / How it works...
N
- naming conflict
- about / Naming conflict
- NuGet
- about / NuGet
- NuGet Package Manager
- about / Getting ready, Getting ready
- NuGet package manager / Getting ready
- URL / Getting ready
O
- object graphs / How it works...
- Object Relational Mappers (ORMs)
- objects
- about / Introduction
- attaching, with unit of work / Attaching objects with unit of work, How to do it...
- related objects, attaching / Attaching related objects
- detaching / Detaching objects
- one-to-many maps
- creating / Getting ready, How to do it..., How it works..., There's more...
- one-to-one maps
- creating / Creating one-to-one maps, How to do it..., How it works...
- optimistic concurrency
- implementing / Implementing optimistic concurrency, How to do it...
- working / How it works...
- OrderByParameter / How to do it...
P
- parallel contexts
- managing / Managing parallel contexts, How to do it...
- working / How it works...
- race conditions / Race conditions
- locking / Locking
- payload
- on many-to-many relationships / Payload
- performance
- queries, testing for / Testing queries for performance, How to do it..., How it works...
- increasing, code access used / Increasing performance with code access, Getting ready, How to do it..., How it works...
- performance testing
- need for / Why do performance testing?
- Plain Old CLR Objects (POCOs) / Finding tools to help
- POCOs (Plain Old CLR Objects) / Introduction
- Properties() method / How it works...
- property maps
- improving / Improving property maps, How to do it..., How it works..., There's more...
Q
- queries
- testing / Testing queries, How to do it..., How it works...
- testing, for performance / Testing queries for performance, How to do it..., How it works...
- query execution plan
- about / Query execution plan
- query performance
- about / Query performance
- query testing
- improving / Improving query testing, How to do it..., How it works...
- QueryTests / How to do it...
R
- race conditions
- about / Race conditions
- Razor view engine
- about / Model-View-Controller
- real-world simulation
- about / Real-world simulation
- record
- about / Introduction
- refactor, unit of work pattern / Refactor
- refreshing data on save solution
- implementing / Implementing refreshing data on save, How to do it...
- working / How it works...
- repository
- about / Repository and caching
- repository pattern
- about / Implementing the repository pattern
- implementing / How to do it..., How it works...
- dependency inversion principle / Dependency inversion principle
- reusable queries
- creating / Creating reusable queries, How to do it...
- RhinoMocks
- about / How it works...
S
- SaveChange method / How it works...
- SaveChanges method
- about / How it works...
- schema and contract
- about / Schema and contract
- shared primary key association / The cost, Shared primary key association
- ShortDescription property / How it works...
- simple properties
- validating / Validating simple properties, How to do it...
- configuration and attributes, deciding between / Deciding between configuration and attributes
- simple properties validation
- working / How it works...
- sharing / Sharing validation
- delaying / Delaying validation
- error messages, displaying / Displaying error messages
- single object
- multiple tables, mapping to / Mapping many tables to one object, How to do it..., How it works...
- single responsibility principle
- single table
- mapping, to multiple objects / Mapping one table to many objects, How to do it..., How it works...
- soft delete
- handling / Handling soft delete, How to do it...
- working / How it works...
- soft delete pattern
- about / Soft delete pattern
- SortingTests / How to do it...
- specification pattern
- implementing / Implementing the specification pattern, How to do it...
- working / How it works...
- about / Specification pattern, Specification pattern
- SQL
- about / Query execution plan
- SQL statements / Testing queries
- state
- about / Introduction
- stored procedures
- executing / Executing stored procedures, How to do it...
- about / Executing stored procedures
- working / How it works..., How it works...
- return type mapping, handling / Handling return type mapping
- access rules / Remembering access rules
- states, changing manually / Manually changing states
- abstract usage / Abstract usage
- stored procedure support
- extensions / Extensions for stored procedure support
- Store Wins concurrency conflict resolution
- about / Store wins
- strategy pattern
- about / Strategy pattern
- stress testing
- about / Stress testing
- structure validation
- about / Introduction
- System.Linq.Dynamic
- about / System.Linq.Dynamic
T
- table
- about / Introduction
- table per concrete type
- about / Table per concrete type
- table per hierarchy pattern
- about / How it works..., Table per hierarchy
- table per type pattern
- about / Table per type
- TestObject data / How to do it...
- thread interleaving
- about / Thread interleaving
- Title property / How it works...
- ToTable() method / How it works..., How it works...
- transaction scopes
- using / Using transaction scopes, How to do it...
- working / How it works...
- read/update separation, ensuring / Ensuring read/update separation
- triggering / Triggering – careful now
- controlling / Remembering that size matters
U
- unified field theory
- about / Introduction
- unit of work pattern
- implementing / Implementing the unit of work pattern, How to do it..., How it works...
- call per change / Call per change
- interface segregation principle / Interface segregation principle
- refactor / Refactor
- unit test
- about / One object under test
V
- ValidationTests / How to do it...
W
- where constraint
- about / Where constraint
- WillCascadeOnDelete() method / How it works..., How it works...
- WithMany() method / How it works...
- WithOptional() method / How it works...
- WithRequired() method / How it works...