Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The canonical way to develop a re-motion application
is to have

  • a domain project with all the domain object classes
  • a sample project or test project for exercising those domain object classes,
    typically a console application
  • (eventually, you will also have a web project, but this is beyond the
    scope of this page)

This is called the canonical project structure. If you have
not read the page canonical project structure yet, please
do so. The following explanation will assume the
canonical project structure.

...

Code Block
Remotion\net-3.5\bin\debug\dbschema.exe /basedirectory:PhoneBook.domain\bin\debug /verbose /config:PhoneBook.Sample\App.config
  • The /basedirectory is the directory with the domain assembly (can be more than one)
  • The /verbose switch gives you more comprehensive error messages in the case something goes wrong
  • The config switch specifies which configuration file dbschema.exe shall use

If everything works out, dbschema.exe has no output.
Both /verbose and /config are optional. As explained above, dbschema.exe
will generate USE DatabaseName instead of USE PhoneBook (for example),
so that you have to fix the database name manually.

See also