Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfiles(Profile profile)
 {
     base.AddObject("Profiles", profile);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Profile object.
 /// </summary>
 /// <param name="profileId">Initial value of the ProfileId property.</param>
 /// <param name="emails">Initial value of the Emails property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 public static Profile CreateProfile(global::System.Int32 profileId, global::System.String emails, global::System.DateTime createDate, global::System.String firstName, global::System.String lastName, global::System.Int64 phone)
 {
     Profile profile = new Profile();
     profile.ProfileId = profileId;
     profile.Emails = emails;
     profile.CreateDate = createDate;
     profile.FirstName = firstName;
     profile.LastName = lastName;
     profile.Phone = phone;
     return profile;
 }