Serverless.Database.FastDB.NET
1.0.0
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
<PackageReference Include="Serverless.Database.FastDB.NET" Version="1.0.0" />
paket add Serverless.Database.FastDB.NET --version 1.0.0
#r "nuget: Serverless.Database.FastDB.NET, 1.0.0"
// 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 | Versions 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. |
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.
First stable release of the FastDB.NET Package.