Add project files.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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> projectmedias { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user