Пример #1
0
        public bool Insert( string PhotoPath,  int ConferenceId,  int LanguageId,  string PhotoLink,  string PhotoTitle,  string PhotoDescription)
        {
            ConferenceMainImagesDAC conferencemainimagesComponent = new ConferenceMainImagesDAC();
            int ConferenceMainImageId = 0;

            return conferencemainimagesComponent.InsertNewConferenceMainImages( ref ConferenceMainImageId,  PhotoPath,  ConferenceId,  LanguageId,  PhotoLink,  PhotoTitle,  PhotoDescription);
        }
Пример #2
0
 public bool Insert(ConferenceMainImages conferencemainimages)
 {
     int autonumber = 0;
     ConferenceMainImagesDAC conferencemainimagesComponent = new ConferenceMainImagesDAC();
     bool endedSuccessfuly = conferencemainimagesComponent.InsertNewConferenceMainImages( ref autonumber,  conferencemainimages.PhotoPath,  conferencemainimages.ConferenceId,  conferencemainimages.LanguageId,  conferencemainimages.PhotoLink,  conferencemainimages.PhotoTitle,  conferencemainimages.PhotoDescription);
     if(endedSuccessfuly)
     {
         conferencemainimages.ConferenceMainImageId = autonumber;
     }
     return endedSuccessfuly;
 }