C# 클래스 Castle.Facilities.NHibernateIntegration.NHibernateGenericDao

Summary description for GenericDao.
Contributed by Steve Degosserie <[email protected]>
상속: INHibernateGenericDao
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Create ( object instance ) : object
Delete ( object instance ) : void
DeleteAll ( Type type ) : void
FindAll ( Type type ) : Array
FindAll ( Type type, ICriterion criterias ) : Array
FindAll ( Type type, ICriterion criterias, NHibernate.Expression.Order sortItems ) : Array
FindAll ( Type type, ICriterion criterias, NHibernate.Expression.Order sortItems, int firstRow, int maxRows ) : Array
FindAll ( Type type, ICriterion criterias, int firstRow, int maxRows ) : Array
FindAll ( Type type, int firstRow, int maxRows ) : Array
FindAllWithCustomQuery ( string queryString ) : Array
FindAllWithCustomQuery ( string queryString, int firstRow, int maxRows ) : Array
FindAllWithNamedQuery ( string namedQuery ) : Array
FindAllWithNamedQuery ( string namedQuery, int firstRow, int maxRows ) : Array
FindById ( Type type, object id ) : object
InitializeLazyProperties ( object instance ) : void
InitializeLazyProperty ( object instance, string propertyName ) : void
NHibernateGenericDao ( ISessionManager sessionManager ) : System
NHibernateGenericDao ( ISessionManager sessionManager, string sessionFactoryAlias ) : System
Save ( object instance ) : void
Update ( object instance ) : void

비공개 메소드들

메소드 설명
GetSession ( ) : ISession

메소드 상세

Create() 공개 메소드

public Create ( object instance ) : object
instance object
리턴 object

Delete() 공개 메소드

public Delete ( object instance ) : void
instance object
리턴 void

DeleteAll() 공개 메소드

public DeleteAll ( Type type ) : void
type System.Type
리턴 void

FindAll() 공개 메소드

public FindAll ( Type type ) : Array
type System.Type
리턴 System.Array

FindAll() 공개 메소드

public FindAll ( Type type, ICriterion criterias ) : Array
type System.Type
criterias ICriterion
리턴 System.Array

FindAll() 공개 메소드

public FindAll ( Type type, ICriterion criterias, NHibernate.Expression.Order sortItems ) : Array
type System.Type
criterias ICriterion
sortItems NHibernate.Expression.Order
리턴 System.Array

FindAll() 공개 메소드

public FindAll ( Type type, ICriterion criterias, NHibernate.Expression.Order sortItems, int firstRow, int maxRows ) : Array
type System.Type
criterias ICriterion
sortItems NHibernate.Expression.Order
firstRow int
maxRows int
리턴 System.Array

FindAll() 공개 메소드

public FindAll ( Type type, ICriterion criterias, int firstRow, int maxRows ) : Array
type System.Type
criterias ICriterion
firstRow int
maxRows int
리턴 System.Array

FindAll() 공개 메소드

public FindAll ( Type type, int firstRow, int maxRows ) : Array
type System.Type
firstRow int
maxRows int
리턴 System.Array

FindAllWithCustomQuery() 공개 메소드

public FindAllWithCustomQuery ( string queryString ) : Array
queryString string
리턴 System.Array

FindAllWithCustomQuery() 공개 메소드

public FindAllWithCustomQuery ( string queryString, int firstRow, int maxRows ) : Array
queryString string
firstRow int
maxRows int
리턴 System.Array

FindAllWithNamedQuery() 공개 메소드

public FindAllWithNamedQuery ( string namedQuery ) : Array
namedQuery string
리턴 System.Array

FindAllWithNamedQuery() 공개 메소드

public FindAllWithNamedQuery ( string namedQuery, int firstRow, int maxRows ) : Array
namedQuery string
firstRow int
maxRows int
리턴 System.Array

FindById() 공개 메소드

public FindById ( Type type, object id ) : object
type System.Type
id object
리턴 object

InitializeLazyProperties() 공개 메소드

public InitializeLazyProperties ( object instance ) : void
instance object
리턴 void

InitializeLazyProperty() 공개 메소드

public InitializeLazyProperty ( object instance, string propertyName ) : void
instance object
propertyName string
리턴 void

NHibernateGenericDao() 공개 메소드

public NHibernateGenericDao ( ISessionManager sessionManager ) : System
sessionManager ISessionManager
리턴 System

NHibernateGenericDao() 공개 메소드

public NHibernateGenericDao ( ISessionManager sessionManager, string sessionFactoryAlias ) : System
sessionManager ISessionManager
sessionFactoryAlias string
리턴 System

Save() 공개 메소드

public Save ( object instance ) : void
instance object
리턴 void

Update() 공개 메소드

public Update ( object instance ) : void
instance object
리턴 void