/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the UserDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserDetails(UserDetail userDetail) { base.AddObject("UserDetails", userDetail); }