Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NewsBlockLocals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNewsBlockLocals(NewsBlockLocal newsBlockLocal)
 {
     base.AddObject("NewsBlockLocals", newsBlockLocal);
 }
Example #2
0
 /// <summary>
 /// Create a new NewsBlockLocal object.
 /// </summary>
 /// <param name="newsBlockId">Initial value of the NewsBlockId property.</param>
 /// <param name="langId">Initial value of the LangId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="summary">Initial value of the Summary property.</param>
 public static NewsBlockLocal CreateNewsBlockLocal(global::System.Int32 newsBlockId, global::System.Int32 langId, global::System.String name, global::System.String body, global::System.String summary)
 {
     NewsBlockLocal newsBlockLocal = new NewsBlockLocal();
     newsBlockLocal.NewsBlockId = newsBlockId;
     newsBlockLocal.LangId = langId;
     newsBlockLocal.Name = name;
     newsBlockLocal.Body = body;
     newsBlockLocal.Summary = summary;
     return newsBlockLocal;
 }