Esempio n. 1
0
 /// <summary>
 /// 用于向 Stu_Follow EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToStu_Follow(Stu_Follow stu_Follow)
 {
     base.AddObject("Stu_Follow", stu_Follow);
 }
Esempio n. 2
0
 /// <summary>
 /// 创建新的 Stu_Follow 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 public static Stu_Follow CreateStu_Follow(global::System.Int32 id)
 {
     Stu_Follow stu_Follow = new Stu_Follow();
     stu_Follow.ID = id;
     return stu_Follow;
 }