internal void reopenTable <tRow>(object cookie) where tRow : new() { TableInSession sessions = (TableInSession)cookie; TypeSerializer ser = this.m_serializer.FindSerializerForType(typeof(tRow)); lock ( syncRoot ) { foreach (SerializerSession s in m_allSessions) { s.reopenTable <tRow>(sessions.lookup(s)); } } }
internal object closeTable <tRow>(SerializerSession thisSession) where tRow : new() { TableInSession res = new TableInSession(); lock ( syncRoot ) { foreach (SerializerSession sess in m_allSessions) { if (sess == thisSession) { continue; } res.add(sess, sess.closeTable <tRow>()); } } return(res); }