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