메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
ValidateEntity ( DbEntityEntry entityEntry, object>.IDictionary |
This does validations that can only be done at the database level
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | System.Collections.Generic |
protected ValidateEntity ( DbEntityEntry entityEntry, object>.IDictionary | ||
entityEntry | DbEntityEntry | |
items | object>.IDictionary | |
리턴 | System.Data.Entity.Validation.DbEntityValidationResult |