Okay so new-ish to .NET, wrote an app to insert blocks, rotate, set layer, etc. So question, when accessing the database's what is the difference between these three methods? any particular benefits of one form over the other?
i seem to be using each of these three in various forms throughout the app.
Code:
Dim bt As BlockTable
bt = tr.GetObject(db.BlockTableId, _
OpenMode.ForRead)
Dim bt As BlockTable = tr.GetObject(db.BlockTableId, OpenMode.ForRead)
Dim bt As BlockTable = DirectCast(tr.GetObject(db.BlockTableId, OpenMode.ForRead), BlockTable)