Closed CapCalamity closed 8 years ago
any toughts about the current implementation of the Db classes? @SuNflOw1991
Seems to be okay for me :+1:
With the GenericDatabaseContext
, you can now save your objects to a DB.
There are some things one needs to know though:
[Key]
Attribute for one of your class' properties
With the Extension
class you can save a key/value pair to the Database.
Can be used with Extensions.Set
/ Extension.Get
, or use the Extension methods .Set
/ .Get
Good work here! :+1: I like it very much! Thanks a lot :)
PR to close #31
Things to know:
How to save and load arbitrary objects to DB:
How to attach a value to an object:
IExtendable