Beispiel #1
0
 /// <summary>
 /// 用于向 TB_Position_Link EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Position_Link(TB_Position_Link tB_Position_Link)
 {
     base.AddObject("TB_Position_Link", tB_Position_Link);
 }
Beispiel #2
0
 /// <summary>
 /// 创建新的 TB_Position_Link 对象。
 /// </summary>
 /// <param name="linkId">LinkId 属性的初始值。</param>
 /// <param name="positionId">PositionId 属性的初始值。</param>
 /// <param name="linkName">LinkName 属性的初始值。</param>
 /// <param name="linkUrl">LinkUrl 属性的初始值。</param>
 public static TB_Position_Link CreateTB_Position_Link(global::System.Int32 linkId, global::System.Int32 positionId, global::System.String linkName, global::System.String linkUrl)
 {
     TB_Position_Link tB_Position_Link = new TB_Position_Link();
     tB_Position_Link.LinkId = linkId;
     tB_Position_Link.PositionId = positionId;
     tB_Position_Link.LinkName = linkName;
     tB_Position_Link.LinkUrl = linkUrl;
     return tB_Position_Link;
 }