コード例 #1
0
 public Session(string connectionString, MetaDataStore metaDataStore)
 {
     this.connectionString = connectionString;
     this.metaDataStore    = metaDataStore;
     sessionLevelCache     = new SessionLevelCache();
     hydrater = new EntityHydrater(metaDataStore, this, sessionLevelCache);
 }
コード例 #2
0
 public Query(SqlCommand command, MetaDataStore metaDataStore, EntityHydrater hydrater)
 {
     this.command       = command;
     this.metaDataStore = metaDataStore;
     this.hydrater      = hydrater;
 }