DbEntityValidationResult Constructor (DbEntityEntry^, IEnumerable<DbValidationError^>^)

Entity Framework 6.0
 

Creates an instance of DbEntityValidationResult class.

Namespace:   System.Data.Entity.Validation
Assembly:  EntityFramework (in EntityFramework.dll)

public:
DbEntityValidationResult(
	DbEntityEntry^ entry,
	IEnumerable<DbValidationError^>^ validationErrors
)

Parameters

entry
Type: System.Data.Entity.Infrastructure::DbEntityEntry^

Entity entry the results applies to. Never null.

validationErrors
Type: System.Collections.Generic::IEnumerable<DbValidationError^>^

List of DbValidationError instances. Never null. Can be empty meaning the entity is valid.

Return to top
Show: