/// <summary> /// Deprecated Method for adding a new object to the PrepaidRecord EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrepaidRecord(PrepaidRecord prepaidRecord) { base.AddObject("PrepaidRecord", prepaidRecord); }
/// <summary> /// Create a new PrepaidRecord object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="money">Initial value of the Money property.</param> /// <param name="memberId">Initial value of the MemberId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="operater">Initial value of the Operater property.</param> /// <param name="memberName">Initial value of the MemberName property.</param> public static PrepaidRecord CreatePrepaidRecord(global::System.Int32 id, global::System.DateTime date, global::System.Double money, global::System.Int32 memberId, global::System.Int32 userId, global::System.String operater, global::System.String memberName) { PrepaidRecord prepaidRecord = new PrepaidRecord(); prepaidRecord.Id = id; prepaidRecord.Date = date; prepaidRecord.Money = money; prepaidRecord.MemberId = memberId; prepaidRecord.UserId = userId; prepaidRecord.Operater = operater; prepaidRecord.MemberName = memberName; return prepaidRecord; }