Exemple #1
0
 public Fr_TopKnowAlls GetSingledataById(int Dc_Id)
 {
     var model = session.Get<Fr_TopKnowAlls>(Dc_Id);
     if (model == null)
         model = new Fr_TopKnowAlls();
     return model;
 }
Exemple #2
0
 public void Update(Fr_TopKnowAlls data)
 {
     session.Update(data);
     session.Flush();
 }