Example #1
0
 public SessionTable(EntitySession session, MappingEntity entity)
     : base(session.sessionProvider, typeof(ISessionTable <T>))
 {
     this.session         = session;
     this.entity          = entity;
     this.underlyingTable = this.session.Provider.GetTable <T>(entity.TableId);
 }
Example #2
0
 public SessionExecutor(EntitySession session, QueryExecutor executor)
 {
     this.session  = session;
     this.executor = executor;
 }
Example #3
0
 public TrackedTable(EntitySession session, MappingEntity entity)
     : base(session, entity)
 {
     this.tracked       = new Dictionary <T, TrackedItem>();
     this.identityCache = new Dictionary <object, T>();
 }
Example #4
0
 public SessionProvider(EntitySession session, EntityProvider provider)
 {
     this.session  = session;
     this.provider = provider;
 }