Method | Description | |
---|---|---|
SampleWebAppDb ( ) : System.Collections.Generic | ||
SaveChanges ( ) : int |
This has been overridden to handle: a) Updating of modified items (see p194 in DbContext book)
|
|
SaveChangesAsync ( ) : Task |
Same for async
|
Method | Description | |
---|---|---|
ValidateEntity ( DbEntityEntry entityEntry, object>.IDictionary |
This does validations that can only be done at the database level
|
Method | Description | |
---|---|---|
HandleChangeTracking ( ) : void |
This handles going through all the entities that have changed and seeing if they need any special handling.
|
|
SampleWebAppDb ( string connectionString ) : System.Collections.Generic |
public SampleWebAppDb ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
protected ValidateEntity ( DbEntityEntry entityEntry, object>.IDictionary | ||
entityEntry | DbEntityEntry | |
items | object>.IDictionary | |
return | System.Data.Entity.Validation.DbEntityValidationResult |