예제 #1
0
        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);
        }
예제 #2
0
 public bool Destroy(object FamRecID)
 {
     return(AFamily.Destroy(FamRecID) == 1);
 }
예제 #3
0
 public bool Delete(object FamRecID)
 {
     return(AFamily.Delete(FamRecID) == 1);
 }