/// <summary> /// Create a new Story object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> public static Story CreateStory(global::System.Guid id, global::System.String description) { Story story = new Story(); story.Id = id; story.Description = description; return story; }
/// <summary> /// Deprecated Method for adding a new object to the Stories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStories(Story story) { base.AddObject("Stories", story); }