public bool Insert( int PersonId, int ConferenceId, int ConferenceCategoryId, string AbstractTitle, string AbstractIntro, string AbstractAuthors, string CoverLetter, bool IsAccepted, string AcceptanceType, string PresentationPath, string PosterPath, string Topic, string Background, string Methods, string Results, string Conclusions, string AbstractTerms, string AbstractKeywords, string DocumentPath1, string DocumentPath2, string DocumentPath3, int RevisionNumber, int ParentID, int AbstractStatusId) { AbstractsDAC abstractsComponent = new AbstractsDAC(); int AbstractId = 0; return abstractsComponent.InsertNewAbstracts( ref AbstractId, PersonId, ConferenceId, ConferenceCategoryId, AbstractTitle, AbstractIntro, AbstractAuthors, CoverLetter, IsAccepted, AcceptanceType, PresentationPath, PosterPath, Topic, Background, Methods, Results, Conclusions, AbstractTerms, AbstractKeywords, DocumentPath1, DocumentPath2, DocumentPath3, RevisionNumber, ParentID, AbstractStatusId); }
public bool Insert(Abstracts abstracts) { int autonumber = 0; AbstractsDAC abstractsComponent = new AbstractsDAC(); bool endedSuccessfuly = abstractsComponent.InsertNewAbstracts( ref autonumber, abstracts.PersonId, abstracts.ConferenceId, abstracts.ConferenceCategoryId, abstracts.AbstractTitle, abstracts.AbstractIntro, abstracts.AbstractAuthors, abstracts.CoverLetter, abstracts.IsAccepted, abstracts.AcceptanceType, abstracts.PresentationPath, abstracts.PosterPath, abstracts.Topic, abstracts.Background, abstracts.Methods, abstracts.Results, abstracts.Conclusions, abstracts.AbstractTerms, abstracts.AbstractKeywords, abstracts.DocumentPath1, abstracts.DocumentPath2, abstracts.DocumentPath3, abstracts.RevisionNumber, abstracts.ParentID, abstracts.AbstractStatusId); if(endedSuccessfuly) { abstracts.AbstractId = autonumber; } return endedSuccessfuly; }