Пример #1
0
 /// <summary>
 /// Create a new UserDetail object.
 /// </summary>
 /// <param name="userDetailsId">Initial value of the UserDetailsId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static UserDetail CreateUserDetail(global::System.Int32 userDetailsId, global::System.Int32 userId)
 {
     UserDetail userDetail = new UserDetail();
     userDetail.UserDetailsId = userDetailsId;
     userDetail.UserId = userId;
     return userDetail;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserDetails(UserDetail userDetail)
 {
     base.AddObject("UserDetails", userDetail);
 }