Very Simple but working DB Access Layer for Raven DB: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace UserManagementSystem.CommonCS { public class DataAccess<T> { public List<T> Get() { using (var session = WebApiApplication.Store.OpenSession()) { var data= session.Query<T>().ToList(); return data; } } public T Get(int id) { using (var session = WebApiApplication.Store.OpenSession()) { var data […]

Read More →