Example #1
0
 public MssqlHiLoIdConvention(global::NHibernate.Cfg.Configuration configuration)
 {
     _maxLo  = configuration.GetProperty("hilo_generator.max_lo") ?? _maxLo;
     _schema = configuration.GetProperty("hilo_generator.schema") ?? _schema;
 }
Example #2
0
 public PostgreSqlHiLoIdConvention(global::NHibernate.Cfg.Configuration configuration)
 {
     _namingStrategy = configuration.NamingStrategy;
     _maxLo          = configuration.GetProperty("hilo_generator.max_lo") ?? _maxLo;
     _schema         = configuration.GetProperty("hilo_generator.schema") ?? _schema;
 }
Example #3
0
 public static string getConnectionString()
 {
     return(_configuration.GetProperty("connection.connection_string"));
 }