Exemple #1
0
 /// <summary>
 /// Create a new UserType object.
 /// </summary>
 /// <param name="userTypeID">Initial value of the UserTypeID property.</param>
 /// <param name="userTypeName">Initial value of the UserTypeName property.</param>
 /// <param name="statusID">Initial value of the StatusID property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static UserType CreateUserType(global::System.Int32 userTypeID, global::System.String userTypeName, global::System.Int32 statusID, global::System.DateTime createdDate)
 {
     UserType userType = new UserType();
     userType.UserTypeID = userTypeID;
     userType.UserTypeName = userTypeName;
     userType.StatusID = statusID;
     userType.CreatedDate = createdDate;
     return userType;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserTypes(UserType userType)
 {
     base.AddObject("UserTypes", userType);
 }