Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Stories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStories(Story story)
 {
     base.AddObject("Stories", story);
 }