public void RegisterLoadingOfPage()
 {
     using (var transaction = Session.BeginTransaction())
     {
         var loading = new Loadings
         {
             Time = DateTime.Now
         };
         Session.Save(loading);
         transaction.Commit();
     }
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     loadings = this.gameObject.GetComponent <Loadings>();
 }