Invoked during the validation stage of the entity migration policy, providing the option of performing custom validation on migrated objects.
Original signature is '- (BOOL)performCustomValidationForEntityMapping:(NSEntityMapping *)mapping manager:(NSMigrationManager *)manager error:(NSError **)error'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool PerformCustomValidationForEntityMappingManagerError( NSEntityMapping mapping, NSMigrationManager manager, out NSError error )
Public Overridable Function PerformCustomValidationForEntityMappingManagerError ( _ mapping As NSEntityMapping, _ manager As NSMigrationManager, _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool PerformCustomValidationForEntityMappingManagerError( NSEntityMapping^ mapping, NSMigrationManager^ manager, [OutAttribute] NSError^% error )
Parameters
- mapping (NSEntityMapping)
- The mapping object in use.
- manager (NSMigrationManager)
- The migration manager performing the migration.
- error (NSError%)
- If an error occurs, upon return contains an NSError object that describes the problem.
Return Value
YES if the method completes correctly, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)