Esempio n. 1
0
        public bool Insert( string Name,  string Description,  string Location,  int Star,  string URL,  string Phone,  string Fax,  string Email,  int LanguageID,  int parentID)
        {
            VenuesLanguageDAC venueslanguageComponent = new VenuesLanguageDAC();
            int ID = 0;

            return venueslanguageComponent.InsertNewVenuesLanguage( ref ID,  Name,  Description,  Location,  Star,  URL,  Phone,  Fax,  Email,  LanguageID,  parentID);
        }
Esempio n. 2
0
 public bool Insert(VenuesLanguage venueslanguage)
 {
     int autonumber = 0;
     VenuesLanguageDAC venueslanguageComponent = new VenuesLanguageDAC();
     bool endedSuccessfuly = venueslanguageComponent.InsertNewVenuesLanguage( ref autonumber,  venueslanguage.Name,  venueslanguage.Description,  venueslanguage.Location,  venueslanguage.Star,  venueslanguage.URL,  venueslanguage.Phone,  venueslanguage.Fax,  venueslanguage.Email,  venueslanguage.LanguageID,  venueslanguage.parentID);
     if(endedSuccessfuly)
     {
         venueslanguage.ID = autonumber;
     }
     return endedSuccessfuly;
 }