Ejemplo n.º 1
0
 public TrackedTable(EntitySession session, MappingEntity entity) : base(session, entity)
 {
     this.tracked       = new Dictionary <T, EntitySession.TrackedItem>();
     this.identityCache = new Dictionary <object, T>();
 }
Ejemplo n.º 2
0
 public SessionProvider(EntitySession session, EntityProvider provider) : base(provider.Context)
 {
     this.session  = session;
     this.provider = provider;
 }
Ejemplo n.º 3
0
 internal 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);
 }
Ejemplo n.º 4
0
 public SessionExecutor(EntitySession session, QueryExecutor executor)
 {
     this.session  = session;
     this.executor = executor;
 }