# Data Models - MVC-Starter

**Date:** 2026-03-11T11:59:39Z

## Overview

The repository includes a database file and data-access infrastructure, but it does not yet contain checked-in application model or repository source files under `app/models/` or `app/repositories/`.

## Current Data Assets

### Database File

- **Path:** `db/webdata.accdb`
- **Type:** Microsoft Access database
- **Configured Provider:** `Microsoft.ACE.OLEDB.12.0`
- **Configured From:** `public/web.config`

### Data Access Runtime

- **DAL libraries:** `core/lib.DAL.asp`, `core/lib.Data.asp`
- **Migration support:** `core/lib.Migrations.asp`
- **Repository/model generation:** `scripts/GenerateRepo.vbs`

## Schema and Model Strategy

- The intended model pattern is generator-assisted.
- `GenerateRepo.vbs` inspects a target table and produces:
  - `POBO_<Table>.asp`
  - `<Table>Repository.asp`
- Generated outputs are expected to be moved into `app/models/` and `app/repositories/`.

## Current Repository State

- `app/models/` is currently empty.
- `app/repositories/` is currently empty.
- `db/migrations/` currently has no checked-in migration files.

## Brownfield Implications

- The project is database-capable, but the sample starter does not include domain entities yet.
- Schema evolution and repository creation are expected to happen through the provided VBScript tooling rather than a separate ORM or package-managed migration framework.
- Future data documentation should be regenerated once concrete tables, migration files, or generated POBO/repository files are added.
