public virtual T Get(object id)
 {
     return(IsStatelessSession
                         ? StatelessSession.Get <T>(id)
                         : Session.Get <T>(id));
 }
示例#2
0
 public T GetStateless(ID id)
 {
     return(StatelessSession.Get <T>(id));
 }