C# Class Zetbox.API.Server.BaseServerPersistenceObject

Abstract Base Class for a PersistenceObject on the Server Side
Inheritance: BasePersistenceObject
Afficher le fichier Open project: daszat/zetbox

Méthodes publiques

Méthode Description
ApplyChangesFrom ( IPersistenceObject obj ) : void
AttachToContext ( IZetboxContext ctx, Func lazyFrozenContext ) : void
FromStream ( ZetboxStreamReader sr ) : IEnumerable
SetDeleted ( ) : void
SetNew ( ) : void
SetUnDeleted ( ) : void
SetUnmodified ( ) : void
ToStream ( ZetboxStreamWriter sw, HashSet auxObjects, bool eagerLoadLists ) : void

Méthodes protégées

Méthode Description
AuditPropertyChange ( string property, object oldValue, object newValue ) : void
BaseServerPersistenceObject ( Func lazyCtx ) : System
SaveAudits ( ) : void
SetModified ( ) : void

Private Methods

Méthode Description
GetIdentity ( IZetboxServerContext serverCtx ) : string
SetObjectState ( DataObjectState newState ) : void

Method Details

ApplyChangesFrom() public méthode

public ApplyChangesFrom ( IPersistenceObject obj ) : void
obj IPersistenceObject
Résultat void

AttachToContext() public méthode

public AttachToContext ( IZetboxContext ctx, Func lazyFrozenContext ) : void
ctx IZetboxContext
lazyFrozenContext Func
Résultat void

AuditPropertyChange() protected méthode

protected AuditPropertyChange ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
Résultat void

BaseServerPersistenceObject() protected méthode

protected BaseServerPersistenceObject ( Func lazyCtx ) : System
lazyCtx Func
Résultat System

FromStream() public méthode

public FromStream ( ZetboxStreamReader sr ) : IEnumerable
sr ZetboxStreamReader
Résultat IEnumerable

SaveAudits() protected méthode

protected SaveAudits ( ) : void
Résultat void

SetDeleted() public méthode

public SetDeleted ( ) : void
Résultat void

SetModified() protected final méthode

protected final SetModified ( ) : void
Résultat void

SetNew() public méthode

public SetNew ( ) : void
Résultat void

SetUnDeleted() public méthode

public SetUnDeleted ( ) : void
Résultat void

SetUnmodified() public méthode

public SetUnmodified ( ) : void
Résultat void

ToStream() public méthode

public ToStream ( ZetboxStreamWriter sw, HashSet auxObjects, bool eagerLoadLists ) : void
sw ZetboxStreamWriter
auxObjects HashSet
eagerLoadLists bool
Résultat void