我有以下课程:
Class Person
Property ID As String = Nothing
Property Firstname As String = ""
Property Lastname As String = ""
End Class
Class Account
Property AccountNumber As String = ""
Property Owners As New List(Of Person)
End Class
当我像这样实例化 Account 类的实例时,我希望您利用https://github.com/nickdodd79/AutoBogus为 Person.ID 设置从 1,000 到 10,000 的值范围:
Dim fk = AutoFaker.Create()
Dim acct = fk.Generate(Of Account)
请问我该如何使用 AutoBogus 来做到这一点?