public void Update(int FamRecID, int?FamOrdRecID, string FamName, string FamAuthor, float?FamSortCodeEU, float?FamSortCodeRL, int?FamOrder, string FamStatus, string FamCommonName, int?FamNoGenera, string FamCITESAppendix, DateTime?FamDateListed, DateTime?FamAdded, DateTime?FamModified, int?FamByWho) { AFamily item = new AFamily(); item.MarkOld(); item.IsLoaded = true; item.FamRecID = FamRecID; item.FamOrdRecID = FamOrdRecID; item.FamName = FamName; item.FamAuthor = FamAuthor; item.FamSortCodeEU = FamSortCodeEU; item.FamSortCodeRL = FamSortCodeRL; item.FamOrder = FamOrder; item.FamStatus = FamStatus; item.FamCommonName = FamCommonName; item.FamNoGenera = FamNoGenera; item.FamCITESAppendix = FamCITESAppendix; item.FamDateListed = FamDateListed; item.FamAdded = FamAdded; item.FamModified = FamModified; item.FamByWho = FamByWho; item.Save(UserName); }
public bool Destroy(object FamRecID) { return(AFamily.Destroy(FamRecID) == 1); }
public bool Delete(object FamRecID) { return(AFamily.Delete(FamRecID) == 1); }