프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_lock | object |
메소드 | 설명 | |
---|---|---|
AddToNewObjects ( newObject ) : void | ||
ClearNewObjects ( ) : void | ||
CommitChanges ( IPersistentObject instance ) : void |
Commits any changes to a specified object to the database.
|
|
DataRepositoryInMemory ( ) : Core.DataBase.Enumerations.Logger |
Creates a new repository, as well as creates and configures a ISessionFactory for it.
|
|
Dispose ( ) : void |
Releases unmanaged resources.
|
|
GetNewObjects ( ) : IEnumerable |
||
PersistNewObjects ( ) : void |
Persists any transient objects cached in the repository.
|
|
Query ( Func filter = null ) : IEnumerable |
Reads instances (filtered if needed) of a specified persistent class from the database and caches them into a collection.
|
|
RemoveFromNewObjects ( IPersistentObject newObject ) : void |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged resources.
|
|
GetObjects ( ) : IEnumerable |
메소드 | 설명 | |
---|---|---|
InitializeNonPersistentFields ( instance ) : void |
Initializes non-persistent fields of a persistent object. This method is required to finalize reading from a database.
|
public CommitChanges ( IPersistentObject instance ) : void | ||
instance | IPersistentObject | the object instance to create/update. |
리턴 | void |
public DataRepositoryInMemory ( ) : Core.DataBase.Enumerations.Logger | ||
리턴 | Core.DataBase.Enumerations.Logger |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Indicates whether this method is being called from |
리턴 | void |
public Query ( Func filter = null ) : IEnumerable |
||
filter | Func | The filter by which to query objects from the database. |
리턴 | IEnumerable |
public RemoveFromNewObjects ( IPersistentObject newObject ) : void | ||
newObject | IPersistentObject | |
리턴 | void |