Пример #1
0
        public void Insert(int Sessionfid, string Name, string Data)
        {
            PhpssSvar item = new PhpssSvar();

            item.Sessionfid = Sessionfid;

            item.Name = Name;

            item.Data = Data;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int Sessionfid, string Name, string Data, int Id)
        {
            PhpssSvar item = new PhpssSvar();

            item.MarkOld();
            item.IsLoaded = true;

            item.Sessionfid = Sessionfid;

            item.Name = Name;

            item.Data = Data;

            item.Id = Id;

            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(PhpssSvar.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(PhpssSvar.Delete(Id) == 1);
 }