NMemory


Downloaded more than
0
times !
var members = this.Tables.Create<Member, int>(x => x.Id);
var groups = base.Tables.Create<Group, int>(g => g.Id);

this.Members = members;
this.Groups = groups;

RelationOptions options = new RelationOptions(
 cascadedDeletion: true);

var peopleGroupIdIndex = members.CreateIndex(
 new RedBlackTreeIndexFactory(),
 p => p.GroupId);

this.Tables.CreateRelation(
 groups.PrimaryKeyIndex,
 peopleGroupIdIndex,
 x =>  x ?? -1,
 x => x,
 options);

What&#39;s NMemory?

What's NMemory?

NMemory is a lightweight non-persistent in-memory relational database engine that is purely written in C# and can be hosted by .NET applications.

When should I use NMemory?

When should I use NMemory?

Whenever you need to create a fake or mock database. So you can test your Business Logic Layer (BLL) without worrying about your Data Access Layer (DAL).

Which Database features are supported?

Which Database features are supported?

Index, Foreign Key Relations, Transaction Handling, Stored Procedure, Query Optimization and many more.

Do your support .NET Core?

Do your support .NET Core?

Not yet but we plan to support it.

Need more performance?

Need more performance?

Find out how to dramatically improve EF performances with
Entity Framework Extensions

Where can I find examples?

Where can I find examples?

Online examples are now available!

Online Examples

Our achievements


customers 5000+ Customers
countries 75+ Countries
requests 8000+ Requests closed
downloads 50 000 000+downloads
visitors 4 000 000+daily visitors

What we achieved over the last 5 years has grown beyond our hopes. That motivates us to continue to grow and improve all our projects. Every day, we are committed to listening to our clients to help ease the daily dev workload as much as possible.