Created
December 12, 2017 08:28
-
-
Save boserup/bab3750d4af217c171c5818cf08da1b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<User> All() { | |
return PersistentObject.INSTANCE.Fetch( | |
new Dictionary<string, object>(), | |
"users", | |
typeof(Book) | |
).ConvertAll(x => (Book)x); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<User> All() { | |
return PersistentObject.INSTANCE.Fetch( | |
new Dictionary<string, object>(), | |
"users", | |
typeof(this) | |
).ConvertAll(x => (Book)x); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment