public void Insert(int?SpcrecID, string LegListing, double?SpcGenRecID, string SpcName, string SpcInfraEpithet, string SpcStatus)
        {
            AnimalsSpecy item = new AnimalsSpecy();

            item.SpcrecID = SpcrecID;

            item.LegListing = LegListing;

            item.SpcGenRecID = SpcGenRecID;

            item.SpcName = SpcName;

            item.SpcInfraEpithet = SpcInfraEpithet;

            item.SpcStatus = SpcStatus;


            item.Save(UserName);
        }
        public void Update(int Id, int?SpcrecID, string LegListing, double?SpcGenRecID, string SpcName, string SpcInfraEpithet, string SpcStatus)
        {
            AnimalsSpecy item = new AnimalsSpecy();

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

            item.Id = Id;

            item.SpcrecID = SpcrecID;

            item.LegListing = LegListing;

            item.SpcGenRecID = SpcGenRecID;

            item.SpcName = SpcName;

            item.SpcInfraEpithet = SpcInfraEpithet;

            item.SpcStatus = SpcStatus;

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