Serverless.Database.FastDB.NET 1.0.1

.NET Framework 3.5
Install-Package Serverless.Database.FastDB.NET -Version 1.0.1
dotnet add package Serverless.Database.FastDB.NET --version 1.0.1
<PackageReference Include="Serverless.Database.FastDB.NET" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serverless.Database.FastDB.NET --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Serverless.Database.FastDB.NET, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serverless.Database.FastDB.NET as a Cake Addin
#addin nuget:?package=Serverless.Database.FastDB.NET&version=1.0.1

// Install Serverless.Database.FastDB.NET as a Cake Tool
#tool nuget:?package=Serverless.Database.FastDB.NET&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

What is FastDB.NET

FastDB.NET is a serverless Database system for .NET. Very fast and easy to use, it allow you to store and edit data without any knowlege about Databases. No SQL query, no transaction thing, only a simple C# API. FastDB.NET allow you to perfome Insertion, Selection, Update and Delete Statements. You can Lock a database with a password and the binary file will be Encrypted.

A Browser is also available for creating and editing your databases.

How to use FastDB.NET

Create a Database instance

 FastDatabase database = new FastDatabase("DatabaseName", "FolderPath");

Save a Database


Load a saved Database

FastDatabase database = new FastDatabase("DatabaseName", "FolderPath");

Create a Table

 Table mytable = Database.GetTable("TBBT_Persos");
 mytable.AddField("Name", FastDBType.String);
 mytable.AddField("Age", FastDBType.Integer);
 mytable.AddField("Size", FastDBType.Float);

Insert Rows

 mytable.Insert("Leonard", 31, 1.68f);
 mytable.Insert("Penny", 30, 1.73f);

Select Statement

mytable.Select("Age", "Size").Where("Name", DBCondition.Equal, "Penny").Execute();

Update Statement

mytableUpdate().Where("Name", DBCondition.Equal, "Penny").Set("Age", 60).Execute();

Delete Statement

mytable.Delete().Where("Name", DBCondition.Equal, "Loenard").Execute();

Lock Database


Unlock Database


Enable or disable AutoSave

database.AutoSave = true;

note that autosave will save the database in a background thread when an edition is performed on the database. very efficient on small and medium database, a little more costly on huge databases. For a better handle on your database saving, you can disable autosave and save by your own. Auto save is serialized in the database binary file, so it will be saved too. by default, autosave is disabled.

Product Versions
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 262 8/15/2020
1.0.0 272 8/15/2020

Incrase memory usage. Incrase deserialization speed and temp buffer size. Incrase Delete speed