Serverless.Database.FastDB.NET 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Serverless.Database.FastDB.NET --version 1.0.0
NuGet\Install-Package Serverless.Database.FastDB.NET -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serverless.Database.FastDB.NET" Version="1.0.0" />
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.0
#r "nuget: Serverless.Database.FastDB.NET, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.0

// Install Serverless.Database.FastDB.NET as a Cake Tool
#tool nuget:?package=Serverless.Database.FastDB.NET&version=1.0.0

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

 database.Save();

Load a saved Database

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

Create a Table

 Database.CreateTable("TBBT_Persos");
 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

database.Lock("password");

Unlock Database

database.UnLock("password");

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 Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 452 8/15/2020
1.0.0 417 8/15/2020

First stable release of the FastDB.NET Package.