Пример #1
0
        public void Insert(int SpcRecID, int?SpcHbtRecID, int?SpcGenRecID, string SpcAnimalPlant, string SpcName, string SpcAuthor, string SpcInfraRank, string SpcInfraEpithet, string SpcInfraRankAuthor, string SpcStockName, string SpcStatus, string SpcHybrid, string SpcEndemism, string SpcDistribComplete, string SpcPopSize, string SpcPopAccuracy, string SpcAreaOO, string SpcExtentOO, bool SpcOccursPA, bool SpcOccursBotGdn, bool SpcFSC, string SpcNotes, int?SpcBGBaseID, string SpcOldIUCNCat, bool SpcMigratory, bool SpcFreshwater, bool SpcMarine, string SpcRedList1990, string SpcRedList1994, string SpcIdManual, string SpcLastSeen, string SpcCITESAppendix, string SpcCITESNotes, string SpcEUAnnex, DateTime?SpcAdded, DateTime?SpcModified, int?SpcByWho)
        {
            PSpecy item = new PSpecy();

            item.SpcRecID = SpcRecID;

            item.SpcHbtRecID = SpcHbtRecID;

            item.SpcGenRecID = SpcGenRecID;

            item.SpcAnimalPlant = SpcAnimalPlant;

            item.SpcName = SpcName;

            item.SpcAuthor = SpcAuthor;

            item.SpcInfraRank = SpcInfraRank;

            item.SpcInfraEpithet = SpcInfraEpithet;

            item.SpcInfraRankAuthor = SpcInfraRankAuthor;

            item.SpcStockName = SpcStockName;

            item.SpcStatus = SpcStatus;

            item.SpcHybrid = SpcHybrid;

            item.SpcEndemism = SpcEndemism;

            item.SpcDistribComplete = SpcDistribComplete;

            item.SpcPopSize = SpcPopSize;

            item.SpcPopAccuracy = SpcPopAccuracy;

            item.SpcAreaOO = SpcAreaOO;

            item.SpcExtentOO = SpcExtentOO;

            item.SpcOccursPA = SpcOccursPA;

            item.SpcOccursBotGdn = SpcOccursBotGdn;

            item.SpcFSC = SpcFSC;

            item.SpcNotes = SpcNotes;

            item.SpcBGBaseID = SpcBGBaseID;

            item.SpcOldIUCNCat = SpcOldIUCNCat;

            item.SpcMigratory = SpcMigratory;

            item.SpcFreshwater = SpcFreshwater;

            item.SpcMarine = SpcMarine;

            item.SpcRedList1990 = SpcRedList1990;

            item.SpcRedList1994 = SpcRedList1994;

            item.SpcIdManual = SpcIdManual;

            item.SpcLastSeen = SpcLastSeen;

            item.SpcCITESAppendix = SpcCITESAppendix;

            item.SpcCITESNotes = SpcCITESNotes;

            item.SpcEUAnnex = SpcEUAnnex;

            item.SpcAdded = SpcAdded;

            item.SpcModified = SpcModified;

            item.SpcByWho = SpcByWho;


            item.Save(UserName);
        }
Пример #2
0
 public bool Delete(object SpcRecID)
 {
     return(PSpecy.Delete(SpcRecID) == 1);
 }
Пример #3
0
 public bool Destroy(object SpcRecID)
 {
     return(PSpecy.Destroy(SpcRecID) == 1);
 }
Пример #4
0
        public void Insert(int SpcRecID,int? SpcHbtRecID,int? SpcGenRecID,string SpcAnimalPlant,string SpcName,string SpcAuthor,string SpcInfraRank,string SpcInfraEpithet,string SpcInfraRankAuthor,string SpcStockName,string SpcStatus,string SpcHybrid,string SpcEndemism,string SpcDistribComplete,string SpcPopSize,string SpcPopAccuracy,string SpcAreaOO,string SpcExtentOO,bool SpcOccursPA,bool SpcOccursBotGdn,bool SpcFSC,string SpcNotes,int? SpcBGBaseID,string SpcOldIUCNCat,bool SpcMigratory,bool SpcFreshwater,bool SpcMarine,string SpcRedList1990,string SpcRedList1994,string SpcIdManual,string SpcLastSeen,string SpcCITESAppendix,string SpcCITESNotes,string SpcEUAnnex,DateTime? SpcAdded,DateTime? SpcModified,int? SpcByWho)
        {
            PSpecy item = new PSpecy();

            item.SpcRecID = SpcRecID;

            item.SpcHbtRecID = SpcHbtRecID;

            item.SpcGenRecID = SpcGenRecID;

            item.SpcAnimalPlant = SpcAnimalPlant;

            item.SpcName = SpcName;

            item.SpcAuthor = SpcAuthor;

            item.SpcInfraRank = SpcInfraRank;

            item.SpcInfraEpithet = SpcInfraEpithet;

            item.SpcInfraRankAuthor = SpcInfraRankAuthor;

            item.SpcStockName = SpcStockName;

            item.SpcStatus = SpcStatus;

            item.SpcHybrid = SpcHybrid;

            item.SpcEndemism = SpcEndemism;

            item.SpcDistribComplete = SpcDistribComplete;

            item.SpcPopSize = SpcPopSize;

            item.SpcPopAccuracy = SpcPopAccuracy;

            item.SpcAreaOO = SpcAreaOO;

            item.SpcExtentOO = SpcExtentOO;

            item.SpcOccursPA = SpcOccursPA;

            item.SpcOccursBotGdn = SpcOccursBotGdn;

            item.SpcFSC = SpcFSC;

            item.SpcNotes = SpcNotes;

            item.SpcBGBaseID = SpcBGBaseID;

            item.SpcOldIUCNCat = SpcOldIUCNCat;

            item.SpcMigratory = SpcMigratory;

            item.SpcFreshwater = SpcFreshwater;

            item.SpcMarine = SpcMarine;

            item.SpcRedList1990 = SpcRedList1990;

            item.SpcRedList1994 = SpcRedList1994;

            item.SpcIdManual = SpcIdManual;

            item.SpcLastSeen = SpcLastSeen;

            item.SpcCITESAppendix = SpcCITESAppendix;

            item.SpcCITESNotes = SpcCITESNotes;

            item.SpcEUAnnex = SpcEUAnnex;

            item.SpcAdded = SpcAdded;

            item.SpcModified = SpcModified;

            item.SpcByWho = SpcByWho;

            item.Save(UserName);
        }