Beispiel #1
0
 /// <summary>
 /// 用于向 IndustrySolutions EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToIndustrySolutions(IndustrySolution industrySolution)
 {
     base.AddObject("IndustrySolutions", industrySolution);
 }
Beispiel #2
0
 /// <summary>
 /// 创建新的 IndustrySolution 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="model">model 属性的初始值。</param>
 /// <param name="uRI">URI 属性的初始值。</param>
 /// <param name="paragram">Paragram 属性的初始值。</param>
 /// <param name="note">Note 属性的初始值。</param>
 public static IndustrySolution CreateIndustrySolution(global::System.Int32 id, global::System.String name, global::System.String content, global::System.String model, global::System.String uRI, global::System.String paragram, global::System.String note)
 {
     IndustrySolution industrySolution = new IndustrySolution();
     industrySolution.Id = id;
     industrySolution.Name = name;
     industrySolution.Content = content;
     industrySolution.model = model;
     industrySolution.URI = uRI;
     industrySolution.Paragram = paragram;
     industrySolution.Note = note;
     return industrySolution;
 }