Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When you transform all text templates for a ___domain model, you automatically generate .cs files that contain the class definitions for your ___domain-specific language. Elements such as ___domain classes, ___domain relationships, and ___domain models represent your generated class definitions, also known as the generated API.
The following sections contain brief overviews of the ___domain classes that you generated if you followed the steps in Walkthrough: Creating a Generated API. For information about how these ___domain classes and their ___domain relationships work together, see Library.Dsl Overview.
DomainModel.cs
This file contains the ___domain model class and the closure classes, which calculate the associated elements when an element is deleted or copied. The ___domain model class communicates to the store about the structure of the ___domain model. This class also provides generic methods for creating model objects, links, and generated code for any enumerations that are defined in your ___domain model.
This file contains the following ___domain model class and closure classes:
LibraryModel (___domain model class)
LibraryModelDeleteClosure (delete closure)
LibraryModelCopyClosure (copy closure)
DomainClasses.cs
This file contains all of the ___domain classes in the model:
Library
Book
CirculationBook (derived from Book)
ReferenceBook (derived from Book)
Person
DomainRelationships.cs
This file contains all of the ___domain relationships in the model:
LibraryHasMembers
LibraryHasBooks
LibraryHasCirculationBooks (derived from LibraryHasBooks)
LibraryHasReferenceBooks (derived from LibraryHasBooks)
PersonChecksOutBooks
See Also
Tasks
Walkthrough: Creating a Generated API