// Create a new customer var customer = new Customer { Name = "John Doe", Email = "johndoe@example.com" }; CrocDB.Context.Customers.Insert(customer);
// Retrieve a customer var existingCustomer = CrocDB.Context.Customers.Get(1);
dotnet add package CrocDB.NET Create a configuration file (e.g., crocdb.config ) to specify database connection settings:
Crocdb.net Upd File
// Create a new customer var customer = new Customer { Name = "John Doe", Email = "johndoe@example.com" }; CrocDB.Context.Customers.Insert(customer);
// Retrieve a customer var existingCustomer = CrocDB.Context.Customers.Get(1); crocdb.net
dotnet add package CrocDB.NET Create a configuration file (e.g., crocdb.config ) to specify database connection settings: // Create a new customer var customer =