/// <summary> /// Create a new UserType object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="type">Initial value of the type property.</param> public static UserType CreateUserType(global::System.Int32 id, global::System.String type) { UserType userType = new UserType(); userType.id = id; userType.type = type; 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); }