Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserType(UserType userType)
 {
     base.AddObject("UserType", userType);
 }
Example #2
0
 /// <summary>
 /// Create a new UserType object.
 /// </summary>
 /// <param name="userTypeId">Initial value of the UserTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static UserType CreateUserType(global::System.Int16 userTypeId, global::System.String name)
 {
     UserType userType = new UserType();
     userType.UserTypeId = userTypeId;
     userType.Name = name;
     return userType;
 }