public virtual void GarbageCollection(int generation, int function, long time) { using (var tx = m_statelessSession.BeginTransaction()) { var gc = new GarbageCollection() { Generation = generation, FunctionId = function, Time = time }; m_statelessSession.Insert(gc); tx.Commit(); } Flush(); }
public virtual void GarbageCollection(int generation, int function, long time) { using(var tx = m_statelessSession.BeginTransaction()) { var gc = new GarbageCollection() { Generation = generation, FunctionId = function, Time = time }; m_statelessSession.Insert(gc); tx.Commit(); } Flush(); }