コード例 #1
0
 /// <summary>
 /// Create a new Profile object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="propertyNames">Initial value of the PropertyNames property.</param>
 /// <param name="propertyValueStrings">Initial value of the PropertyValueStrings property.</param>
 /// <param name="propertyValueBinary">Initial value of the PropertyValueBinary property.</param>
 /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param>
 public static Profile CreateProfile(global::System.Guid userId, global::System.String propertyNames, global::System.String propertyValueStrings, global::System.Byte[] propertyValueBinary, global::System.DateTime lastUpdatedDate)
 {
     Profile profile = new Profile();
     profile.UserId = userId;
     profile.PropertyNames = propertyNames;
     profile.PropertyValueStrings = propertyValueStrings;
     profile.PropertyValueBinary = propertyValueBinary;
     profile.LastUpdatedDate = lastUpdatedDate;
     return profile;
 }
コード例 #2
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);
 }