Exemple #1
0
        public void Insert(string Field1, byte[] Ts)
        {
            CurrentStatus item = new CurrentStatus();

            item.Field1 = Field1;

            item.Ts = Ts;


            item.Save(UserName);
        }
Exemple #2
0
        public void Update(int Id, string Field1, byte[] Ts)
        {
            CurrentStatus item = new CurrentStatus();

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

            item.Id = Id;

            item.Field1 = Field1;

            item.Ts = Ts;

            item.Save(UserName);
        }
Exemple #3
0
 public bool Destroy(object Id)
 {
     return(CurrentStatus.Destroy(Id) == 1);
 }
Exemple #4
0
 public bool Delete(object Id)
 {
     return(CurrentStatus.Delete(Id) == 1);
 }