/// <summary> /// 创建新的 ThirdLogOnRecord 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="userId">UserId 属性的初始值。</param> /// <param name="email">Email 属性的初始值。</param> public static ThirdLogOnRecord CreateThirdLogOnRecord(global::System.Int32 id, global::System.Int32 userId, global::System.String email) { ThirdLogOnRecord thirdLogOnRecord = new ThirdLogOnRecord(); thirdLogOnRecord.ID = id; thirdLogOnRecord.UserId = userId; thirdLogOnRecord.Email = email; return thirdLogOnRecord; }
/// <summary> /// 用于向 ThirdLogOnRecord EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToThirdLogOnRecord(ThirdLogOnRecord thirdLogOnRecord) { base.AddObject("ThirdLogOnRecord", thirdLogOnRecord); }