Schemas:
The base installation of Base4 is
useful primarily for its file and assembly management features. However by registering
new schemas you can extend a Base4 server to provide access to custom databases.
A schema contains types and is essentially a way to package logically related types,
for example a HR schema might include the following types: SalaryPackage, LeaveRequest,
DisciplinaryAction etc.
Schemas are used to package and deploy
new functionality to wrap:
-
New database tables
-
Legacy database tables
The principle used by Base4 is similar
to that of .NET assemblies. You can build schemas up that use and potentially extend
other schemas. In fact when a schema is registered a corresponding .NET assembly
is created along with any database changes required to support that assembly. The
schema’s assembly will reference any assemblies associated with any of schemas the
new schema references.