public override IEnumerable <TModel> Insert(ISession currentSession, IEnumerable <TModel> models)
 {
     global::NHibernate.IStatelessSession nativeSession = GetNativeSession(currentSession);
     foreach (TModel model in models)
     {
         nativeSession.Insert(model);
     }
     return(models);
 }
 public override TModel Insert(ISession currentSession, TModel model)
 {
     global::NHibernate.IStatelessSession nativeSession = GetNativeSession(currentSession);
     nativeSession.Insert(model);
     return(model);
 }