Ejemplo n.º 1
0
 public Session(string connectionString, MetaDataStore metaDataStore)
 {
     this.connectionString = connectionString;
     this.metaDataStore    = metaDataStore;
     sessionLevelCache     = new SessionLevelCache();
     hydrater = new EntityHydrater(metaDataStore, this, sessionLevelCache);
 }
Ejemplo n.º 2
0
 public Query(SqlCommand command, MetaDataStore metaDataStore, EntityHydrater hydrater)
 {
     this.command       = command;
     this.metaDataStore = metaDataStore;
     this.hydrater      = hydrater;
 }