I use ORMLite to save several objects similar to:
var graphs = Builder<UserGraph>.CreateListOfSize(10)
.And(x => x.UserId = User.Id)
.Build();
Db.SaveAll(graphs);
Is there a way to automatically set the id property for each object. If not, is there a way to get identifiers for all inserted objects?
source
share