/// <summary> /// Create a new UserType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userType1">Initial value of the UserType1 property.</param> /// <param name="accessLevel">Initial value of the AccessLevel property.</param> public static UserType CreateUserType(global::System.Int32 id, global::System.String userType1, global::System.Int32 accessLevel) { UserType userType = new UserType(); userType.Id = id; userType.UserType1 = userType1; userType.AccessLevel = accessLevel; return userType; }
/// <summary> /// Deprecated Method for adding a new object to the UserTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserTypes(UserType userType) { base.AddObject("UserTypes", userType); }