Class LLBLGenPersistEntityBehavior
Behavior for preparing entities for persistence.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.LLBLGen.Behaviors
Assembly: Kephas.Data.LLBLGen.dll
Syntax
[ProcessingPriority(Priority.High)]
public class LLBLGenPersistEntityBehavior : DataBehaviorBase<IEntityBase>, ILoggable, IDataBehavior<IEntityBase>, IDataBehavior, IOnPersistBehavior, IOnInitializeBehavior, IOnValidateBehavior
Methods
| Improve this Doc View SourceBeforePersist(IEntityBase, IEntityEntry, IDataOperationContext)
Callback invoked before an entity is being persisted.
Declaration
public override void BeforePersist(IEntityBase entity, IEntityEntry entityEntry, IDataOperationContext operationContext)
Parameters
Type | Name | Description |
---|---|---|
IEntityBase | entity | The entity. |
IEntityEntry | entityEntry | The entity information. |
IDataOperationContext | operationContext | The operation context. |
Overrides
Kephas.Data.Behaviors.DataBehaviorBase<Kephas.Data.LLBLGen.Entities.IEntityBase>.BeforePersist(Kephas.Data.LLBLGen.Entities.IEntityBase, Kephas.Data.Capabilities.IEntityEntry, Kephas.Data.IDataOperationContext)