c# - Simple .NET file system persistence? -
i need store simple data (just poco objects few attributes, nothing fancy).
public class mypoco { public int id {get; set;} public string title {get; set;} public string email {get; set;} // ... }
basically, @ point of web application need check if mypoco
object persisted (matching id
), , if it's not, persist it. that's need.
it can't database, xml
or json
. what's easy way (or nuget package) store it?
i suggest use in-process database sql server ce or sqlite o/r mapper. easier , more maintainable reinventing small database.
Comments
Post a Comment