Home¶
GitObjectDb is designed to simplify the configuration management versioning. It does so by removing the need for hand-coding the commands needed to interact with Git.
The Git repository is used as a pure database as the files containing the serialized copy of the objects are never fetched in the filesystem. GitObjectDb only uses the blob storage provided by Git.
Here’s a simple example:
- Add a reference to GitObjectDb NuGet package
- Define your own repository data model:
[GitFolder("Applications")]
public class Application : Node
{
public string Name { get; set; }
public string Description { get; set; }
}
[GitFolder("Pages")]
public class Table : Node
{
public string Name { get; set; }
public string Description { get; set; }
}
See Getting Started for how to manipulate data.