Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NewsInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNewsInfoes(NewsInfo newsInfo)
 {
     base.AddObject("NewsInfoes", newsInfo);
 }
Пример #2
0
 /// <summary>
 /// Create a new NewsInfo object.
 /// </summary>
 /// <param name="newsId">Initial value of the NewsId property.</param>
 public static NewsInfo CreateNewsInfo(global::System.Int32 newsId)
 {
     NewsInfo newsInfo = new NewsInfo();
     newsInfo.NewsId = newsId;
     return newsInfo;
 }