public static void Save <T>(this BaseObject <T> baseObject) where T : BaseObject <T> { PersistenceHelper.SessionFactory.GetCurrentSession().Save(baseObject); }
public static BaseObject <T> Merge <T>(this BaseObject <T> baseObject) where T : BaseObject <T> { return(PersistenceHelper.SessionFactory.GetCurrentSession().Merge(baseObject)); }