C# Class SharpArch.NHibernate.NHibernateValidator.DataAnnotationsEventListener

Inheritance: IPreUpdateEventListener, IPreInsertEventListener
Mostra file Open project: sharparchitecture/Sharp-Architecture

Public Methods

Method Description
OnPreInsert ( PreInsertEvent @event ) : bool
OnPreUpdate ( PreUpdateEvent @event ) : bool

Private Methods

Method Description
CreateValidationContext ( IDatabaseEventArgs @event, object entity ) : System.ComponentModel.DataAnnotations.ValidationContext

Method Details

OnPreInsert() public method

public OnPreInsert ( PreInsertEvent @event ) : bool
@event PreInsertEvent
return bool

OnPreUpdate() public method

public OnPreUpdate ( PreUpdateEvent @event ) : bool
@event PreUpdateEvent
return bool