/// <summary> /// 创建新的 TB_UserFriendship 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="userID">UserID 属性的初始值。</param> /// <param name="stuID">StuID 属性的初始值。</param> /// <param name="createTime">CreateTime 属性的初始值。</param> public static TB_UserFriendship CreateTB_UserFriendship(global::System.Int32 id, global::System.Int32 userID, global::System.Int32 stuID, global::System.DateTime createTime) { TB_UserFriendship tB_UserFriendship = new TB_UserFriendship(); tB_UserFriendship.ID = id; tB_UserFriendship.UserID = userID; tB_UserFriendship.StuID = stuID; tB_UserFriendship.CreateTime = createTime; return tB_UserFriendship; }
/// <summary> /// 用于向 TB_UserFriendship EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_UserFriendship(TB_UserFriendship tB_UserFriendship) { base.AddObject("TB_UserFriendship", tB_UserFriendship); }