public void Insert(int?Code, string CodeDescription, byte[] Ts)
        {
            NominalCodeTable item = new NominalCodeTable();

            item.Code = Code;

            item.CodeDescription = CodeDescription;

            item.Ts = Ts;


            item.Save(UserName);
        }
        public void Update(int NominalCodeID, int?Code, string CodeDescription, byte[] Ts)
        {
            NominalCodeTable item = new NominalCodeTable();

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

            item.NominalCodeID = NominalCodeID;

            item.Code = Code;

            item.CodeDescription = CodeDescription;

            item.Ts = Ts;

            item.Save(UserName);
        }
 public bool Destroy(object NominalCodeID)
 {
     return(NominalCodeTable.Destroy(NominalCodeID) == 1);
 }
 public bool Delete(object NominalCodeID)
 {
     return(NominalCodeTable.Delete(NominalCodeID) == 1);
 }