ServiceStack OrmLite, Read All Entries

Just try OrmLite for the first time and look through examples / documents in 20 minutes now, no luck trying to find a simple answer.

Is there a way to return all records of a certain type? (something that returns, perhaps a list or something else.

I thought it would be

db.SelectAll<T>();

something like that.

I am sure there is a very simple way besides just sending a request, right?

SELECT * FROM [TableName]

I am sure that I just overlooked one of the methods or have not yet found the correct overload ... but if someone can give me a push forward, this will be great.

+4
source share
1 answer

Of course the answer db.Select<T>();

+6
source

All Articles