コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProfileViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfileViews(ProfileViews profileViews)
 {
     base.AddObject("ProfileViews", profileViews);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProfileViews object.
 /// </summary>
 /// <param name="pv_viewer">Initial value of the pv_viewer property.</param>
 /// <param name="pv_viewed">Initial value of the pv_viewed property.</param>
 /// <param name="pv_timestamp">Initial value of the pv_timestamp property.</param>
 public static ProfileViews CreateProfileViews(global::System.String pv_viewer, global::System.String pv_viewed, global::System.DateTime pv_timestamp)
 {
     ProfileViews profileViews = new ProfileViews();
     profileViews.pv_viewer = pv_viewer;
     profileViews.pv_viewed = pv_viewed;
     profileViews.pv_timestamp = pv_timestamp;
     return profileViews;
 }