コード例 #1
0
 public DataPersister()
 {
     this.session   = NHibernateSession.Current;
     this.dbcontext = new DbContext(SessionFactoryKeyHelper.GetKey());
 }
コード例 #2
0
 private string GetEffectiveFactoryKey()
 {
     return(String.IsNullOrEmpty(factoryKey) ? SessionFactoryKeyHelper.GetKey() : factoryKey);
 }