You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List<User>users=db.Fetch<User>("select u.* from users where u.isActive = 1");
Lazy
Warning: The following method Query uses the yield keyword. It will only run the query when the results are being iterated over. Please use the Fetch method if you don't fully understand this concept.
List<User>users=db.Query<User>("select u.* from users where u.isActive = 1");