How gbtussi/aspobelisk works
aspObelisk is a Classic ASP ORM with a .NET CLI for schema introspection, model generation, and versioned migrations, plus an ASP runtime that executes ORM operations through ADODB. The main workflow is to configure a database source, introspect its schema, generate model files and a bootstrap include, then use those models from an ASP site. The README also documents migration creation, application, rollback, multi-source configuration, relationships, and fluent queries. Runtime internals and migration implementation details were not sampled, so those links are limited to documented behavior.
Main entry points: Program.cs CLI commands · model.asp Active Record model · MigrationRunner.cs Migration runner · ModelGenerator.cs Generated models and bootstrap
Components 18
CLI and schema
- Source configuration
cli/src/Models/ConfigModel.cs - CLI commands
cli/src/Program.cs - MySQL introspection
cli/src/Schema/MySqlIntrospector.cs - SQL Server introspection
cli/src/Schema/SqlServerIntrospector.cs - Relation builder
cli/src/Schema/RelationBuilder.cs - Table schema
cli/src/Models/SchemaModels.cs
Model generation
- ASP code generator
cli/src/Generators/ModelGenerator.cs - Generated models and bootstrap
cli/src/Generators/ModelGenerator.cs
Migrations
- Migration files
cli/src/Migrations/MigrationFile.cs - Migration runner
cli/src/Migrations/MigrationRunner.cs
ASP runtime
- Active Record model
runtime/model.asp - Connection context
runtime/context.asp - ADODB connection
runtime/connection.asp - Query builder
runtime/query-builder.asp - Recordset hydrator
runtime/recordset-hydrator.asp
Other components
- Project maintainer
- MySQL / SQL Server
- Classic ASP site
Connections 20
- Project maintainer → CLI commands: runs commands
README.md - CLI commands → Source configuration: resolves sources
cli/src/Program.cs - CLI commands → MySQL introspection: introspects schema
cli/src/Program.cs - CLI commands → SQL Server introspection: introspects schema
cli/src/Program.cs - MySQL introspection → Relation builder: applies relations
cli/src/Schema/MySqlIntrospector.cs - SQL Server introspection → Relation builder: applies relations
cli/src/Schema/SqlServerIntrospector.cs - CLI commands → ASP code generator: generates models
cli/src/Program.cs - ASP code generator → Generated models and bootstrap: emits files
cli/src/Generators/ModelGenerator.cs - Classic ASP site → Generated models and bootstrap: includes bootstrap
README.md - Generated models and bootstrap → Active Record model: delegates ORM work
README.md - Classic ASP site → Active Record model: uses models
README.md - Active Record model → Connection context: configures connection
- Connection context → ADODB connection: provides connection
- Active Record model → Query builder: builds queries
- Query builder → ADODB connection: executes queries
- ADODB connection → MySQL / SQL Server: queries via ADODB
README.md - CLI commands → Migration files: creates scaffold
cli/src/Program.cs - CLI commands → Migration runner: runs migrations
cli/src/Program.cs - Migration runner → MySQL / SQL Server: applies schema changes
README.md - Migration runner → Migration files: reads up/down blocks