Exemplo n.º 1
0
        public void Insert(string SName, string SDesc, short IntSTT)
        {
            TblServiceType item = new TblServiceType();

            item.SName = SName;

            item.SDesc = SDesc;

            item.IntSTT = IntSTT;


            item.Save(UserName);
        }
Exemplo n.º 2
0
        public void Update(short Id, string SName, string SDesc, short IntSTT)
        {
            TblServiceType item = new TblServiceType();

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

            item.Id = Id;

            item.SName = SName;

            item.SDesc = SDesc;

            item.IntSTT = IntSTT;

            item.Save(UserName);
        }
Exemplo n.º 3
0
 public bool Destroy(object Id)
 {
     return(TblServiceType.Destroy(Id) == 1);
 }
Exemplo n.º 4
0
 public bool Delete(object Id)
 {
     return(TblServiceType.Delete(Id) == 1);
 }