コード例 #1
0
 /// <summary>
 /// Create a new UserProperties object.
 /// </summary>
 /// <param name="propertyID">Initial value of the PropertyID property.</param>
 /// <param name="userGuid">Initial value of the UserGuid property.</param>
 /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param>
 /// <param name="isLazyLoaded">Initial value of the IsLazyLoaded property.</param>
 public static UserProperties CreateUserProperties(global::System.Guid propertyID, global::System.Guid userGuid, global::System.DateTime lastUpdatedDate, global::System.Boolean isLazyLoaded)
 {
     UserProperties userProperties = new UserProperties();
     userProperties.PropertyID = propertyID;
     userProperties.UserGuid = userGuid;
     userProperties.LastUpdatedDate = lastUpdatedDate;
     userProperties.IsLazyLoaded = isLazyLoaded;
     return userProperties;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProperties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProperties(UserProperties userProperties)
 {
     base.AddObject("UserProperties", userProperties);
 }