public void Insert(int?GenRecID, int?GenFamRecID, string GenName, string GenAuthor, string GenStatus, int?GenNoSpecies, DateTime?GenAdded, DateTime?GenModified, int?GenByWho) { AGenu item = new AGenu(); item.GenRecID = GenRecID; item.GenFamRecID = GenFamRecID; item.GenName = GenName; item.GenAuthor = GenAuthor; item.GenStatus = GenStatus; item.GenNoSpecies = GenNoSpecies; item.GenAdded = GenAdded; item.GenModified = GenModified; item.GenByWho = GenByWho; item.Save(UserName); }
public void Update(int Id, int?GenRecID, int?GenFamRecID, string GenName, string GenAuthor, string GenStatus, int?GenNoSpecies, DateTime?GenAdded, DateTime?GenModified, int?GenByWho) { AGenu item = new AGenu(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.GenRecID = GenRecID; item.GenFamRecID = GenFamRecID; item.GenName = GenName; item.GenAuthor = GenAuthor; item.GenStatus = GenStatus; item.GenNoSpecies = GenNoSpecies; item.GenAdded = GenAdded; item.GenModified = GenModified; item.GenByWho = GenByWho; item.Save(UserName); }
public bool Destroy(object Id) { return(AGenu.Destroy(Id) == 1); }
public bool Delete(object Id) { return(AGenu.Delete(Id) == 1); }