/// <summary> /// Create a new Presentation object. /// </summary> /// <param name="presentationId">Initial value of the PresentationId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="title">Initial value of the Title property.</param> public static Presentation CreatePresentation(global::System.Guid presentationId, global::System.Guid userId, global::System.String title) { Presentation presentation = new Presentation(); presentation.PresentationId = presentationId; presentation.UserId = userId; presentation.Title = title; return presentation; }
/// <summary> /// Deprecated Method for adding a new object to the Presentations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPresentations(Presentation presentation) { base.AddObject("Presentations", presentation); }