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);
NMemory is a lightweight non-persistent in-memory relational database engine that is purely written in C# and can be hosted by .NET applications.
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).
Index, Foreign Key Relations, Transaction Handling, Stored Procedure, Query Optimization and many more.
Not yet but we plan to support it.
Yes, you can contact us for special requests: email@example.com
Online examples are now available!Online Examples
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.