프로퍼티 | 타입 | 설명 | |
---|---|---|---|
PostHooks | IList |
||
PreHooks | IList |
메소드 | 설명 | |
---|---|---|
HookedDbContext ( ) : System.Collections.Generic | ||
HookedDbContext ( IHook hooks ) : System.Collections.Generic | ||
HookedDbContext ( IHook hooks, string nameOrConnectionString ) : System.Collections.Generic | ||
HookedDbContext ( string nameOrConnectionString ) : System.Collections.Generic | ||
RegisterHook ( IPostActionHook hook ) : void |
Registers a hook to run after a database action occurs.
|
|
RegisterHook ( IPreActionHook hook ) : void |
Registers a hook to run before a database action occurs.
|
|
SaveChanges ( ) : int |
public HookedDbContext ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |
public HookedDbContext ( IHook hooks ) : System.Collections.Generic | ||
hooks | IHook | |
리턴 | System.Collections.Generic |
public HookedDbContext ( IHook hooks, string nameOrConnectionString ) : System.Collections.Generic | ||
hooks | IHook | |
nameOrConnectionString | string | |
리턴 | System.Collections.Generic |
public HookedDbContext ( string nameOrConnectionString ) : System.Collections.Generic | ||
nameOrConnectionString | string | |
리턴 | System.Collections.Generic |
public RegisterHook ( IPostActionHook hook ) : void | ||
hook | IPostActionHook | The hook to register. |
리턴 | void |
public RegisterHook ( IPreActionHook hook ) : void | ||
hook | IPreActionHook | The hook to register. |
리턴 | void |