コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfilePropertyValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfilePropertyValues(ProfilePropertyValue profilePropertyValue)
 {
     base.AddObject("ProfilePropertyValues", profilePropertyValue);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProfilePropertyValue object.
 /// </summary>
 /// <param name="profilePropertyValueID">Initial value of the ProfilePropertyValueID property.</param>
 /// <param name="profilePropertyID">Initial value of the ProfilePropertyID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="profilePropertyValue1">Initial value of the ProfilePropertyValue1 property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static ProfilePropertyValue CreateProfilePropertyValue(global::System.Int32 profilePropertyValueID, global::System.Int32 profilePropertyID, global::System.Guid userID, global::System.String profilePropertyValue1, global::System.DateTime dateCreated)
 {
     ProfilePropertyValue profilePropertyValue = new ProfilePropertyValue();
     profilePropertyValue.ProfilePropertyValueID = profilePropertyValueID;
     profilePropertyValue.ProfilePropertyID = profilePropertyID;
     profilePropertyValue.UserID = userID;
     profilePropertyValue.ProfilePropertyValue1 = profilePropertyValue1;
     profilePropertyValue.DateCreated = dateCreated;
     return profilePropertyValue;
 }