示例#1
0
 /// <summary>
 /// Create a new Content object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="homePage">Initial value of the HomePage property.</param>
 public static Content CreateContent(global::System.Int32 id, global::System.Boolean homePage)
 {
     Content content = new Content();
     content.Id = id;
     content.HomePage = homePage;
     return content;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Content EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContent(Content content)
 {
     base.AddObject("Content", content);
 }