예제 #1
0
 protected Repository(AgendaContext db)
 {
     Db                = db;
     DbSet             = db.Set <TEntity>();
     _connectionString = Db.Database.GetDbConnection().ConnectionString;
     _table            = string.Concat(_schemaName, ".", typeof(TEntity).ToString().Split(".").Last());
     _schemaName       = ((SqlServerDBConfig)DataBaseConfigurationHelper.DataBaseConfig).SchemaName;
 }
예제 #2
0
 public LocalRepository(AgendaContext context) : base(context)
 {
 }
예제 #3
0
 public AgendaRepository(AgendaContext context) : base(context)
 {
 }
 public TipoEventoRepository(AgendaContext context) : base(context)
 {
 }
예제 #5
0
 public UsuarioRepository(AgendaContext context) : base(context)
 {
 }