コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Details EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDetails(Details details)
 {
     base.AddObject("Details", details);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Details object.
 /// </summary>
 /// <param name="detailsId">Initial value of the DetailsId property.</param>
 /// <param name="balance">Initial value of the Balance property.</param>
 /// <param name="forename">Initial value of the Forename property.</param>
 /// <param name="surname">Initial value of the Surname property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="town">Initial value of the Town property.</param>
 /// <param name="county">Initial value of the County property.</param>
 /// <param name="country">Initial value of the Country property.</param>
 /// <param name="postcode">Initial value of the Postcode property.</param>
 /// <param name="mobile">Initial value of the Mobile property.</param>
 /// <param name="reApprovalAt">Initial value of the ReApprovalAt property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static Details CreateDetails(global::System.Int32 detailsId, global::System.Decimal balance, global::System.String forename, global::System.String surname, global::System.String address, global::System.String town, global::System.String county, global::System.String country, global::System.String postcode, global::System.String mobile, global::System.DateTime reApprovalAt, global::System.Guid userId)
 {
     Details details = new Details();
     details.DetailsId = detailsId;
     details.Balance = balance;
     details.Forename = forename;
     details.Surname = surname;
     details.Address = address;
     details.Town = town;
     details.County = county;
     details.Country = country;
     details.Postcode = postcode;
     details.Mobile = mobile;
     details.ReApprovalAt = reApprovalAt;
     details.UserId = userId;
     return details;
 }