コード例 #1
0
 /// <summary>
 /// Create a new UserRegistration object.
 /// </summary>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="fullName">Initial value of the FullName property.</param>
 public static UserRegistration CreateUserRegistration(global::System.String userName, global::System.String fullName)
 {
     UserRegistration userRegistration = new UserRegistration();
     userRegistration.UserName = userName;
     userRegistration.FullName = fullName;
     return userRegistration;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRegistrations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRegistrations(UserRegistration userRegistration)
 {
     base.AddObject("UserRegistrations", userRegistration);
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRegistrations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRegistrations(UserRegistration userRegistration)
 {
     base.AddObject("UserRegistrations", userRegistration);
 }