Sha256: beb954e9caa9d0856a34cbac9abbe75d0821306ee3d42b28e7e3a0092983e733
Contents?: true
Size: 474 Bytes
Versions: 8
Compression:
Stored size: 474 Bytes
Contents
using System.Data.Entity; using RubyODataService.Models; namespace RubyODataService { public class RubyODataContext : DbContext { public RubyODataContext() { // Disable proxy creation, which doesn’t work well with data services. this.Configuration.ProxyCreationEnabled = false; } public DbSet<Product> Products { get; set; } public DbSet<Category> Categories { get; set; } } }
Version data entries
8 entries across 8 versions & 1 rubygems