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)); }
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); }