0ccbef45a1
Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
809 B
C#
23 lines
809 B
C#
using System.Data.Entity;
|
||
|
||
namespace atakanozbancom.Models.classes
|
||
{
|
||
public class Context : DbContext
|
||
{
|
||
public Context() : base("Context")
|
||
{
|
||
// Fixes MODEL–DB uncompaciable:
|
||
Database.SetInitializer<Context>(null);
|
||
}
|
||
|
||
public DbSet<admin> admins { get; set; }
|
||
public DbSet<myprojects> MyProjects { get; set; }
|
||
public DbSet<myprojectstranslation> myprojectstranslations { get; set; }
|
||
public DbSet<projectmedia> projectmedia { get; set; }
|
||
public DbSet<affiliatelink> AffiliateLinks { get; set; }
|
||
public DbSet<affiliatelinktranslation> affiliatelinktranslations { get; set; }
|
||
public DbSet<socialicon> SocialIcons { get; set; }
|
||
public DbSet<sitesetting> SiteSettings { get; set; }
|
||
|
||
}
|
||
} |