Esempio n. 1
0
        public bool Insert( int AbstractId,  string AbstractTitle,  string AbstractIntro,  string CoverLetter,  string Topic,  string Background,  string Methods,  string Results,  string Conclusions,  string AbstractTerms,  string AbstractKeywords,  int LanguageID)
        {
            AbstractsLanguageDAC abstractslanguageComponent = new AbstractsLanguageDAC();
            int AbstractLanguageId = 0;

            return abstractslanguageComponent.InsertNewAbstractsLanguage( ref AbstractLanguageId,  AbstractId,  AbstractTitle,  AbstractIntro,  CoverLetter,  Topic,  Background,  Methods,  Results,  Conclusions,  AbstractTerms,  AbstractKeywords,  LanguageID);
        }
Esempio n. 2
0
 public bool Insert(AbstractsLanguage abstractslanguage)
 {
     int autonumber = 0;
     AbstractsLanguageDAC abstractslanguageComponent = new AbstractsLanguageDAC();
     bool endedSuccessfuly = abstractslanguageComponent.InsertNewAbstractsLanguage( ref autonumber,  abstractslanguage.AbstractId,  abstractslanguage.AbstractTitle,  abstractslanguage.AbstractIntro,  abstractslanguage.CoverLetter,  abstractslanguage.Topic,  abstractslanguage.Background,  abstractslanguage.Methods,  abstractslanguage.Results,  abstractslanguage.Conclusions,  abstractslanguage.AbstractTerms,  abstractslanguage.AbstractKeywords,  abstractslanguage.LanguageID);
     if(endedSuccessfuly)
     {
         abstractslanguage.AbstractLanguageId = autonumber;
     }
     return endedSuccessfuly;
 }