ModelRoot Class |
Namespace: Sawczyn.EFDesigner.EFModel
The ModelRoot type exposes the following members.
Name | Description | |
---|---|---|
AutomaticMigrationsEnabled |
Gets or sets the value of AutomaticMigrationsEnabled domain property.
If true, automatic database migrations will be run when changes are detected.
| |
BaseClass |
Gets or sets the value of BaseClass domain property.
Base class for DbContext in generated code. Should be fully qualified if not in
a standard namespace.
| |
ChopMethodChains |
Gets or sets the value of ChopMethodChains domain property.
Will chop generated code method chains
| |
Classes |
Gets a list of Classes.
Description for Sawczyn.EFDesigner.EFModel.ModelRootHasClasses.ModelRoot
| |
Comments |
Gets a list of Comments.
| |
ConcurrencyDefault |
Gets or sets the value of ConcurrencyDefault domain property.
Default concurrency handling strategy
| |
ConnectionString |
Gets or sets the value of ConnectionString domain property.
Connection string to use. Mutually exclusive with ConnectionStringName
| |
ConnectionStringName |
Gets or sets the value of ConnectionStringName domain property.
Name of connection string in config file. Mutually exclusive with
ConnectionString
| |
ContextOutputDirectory |
Gets or sets the value of ContextOutputDirectory domain property.
Project directory for DbContext-related files
| |
DatabaseInitializerType |
Gets or sets the value of DatabaseInitializerType domain property.
Initialization strategy to synchronize the underlying database when an instance
of this context is used for the first time
| |
DatabaseSchema |
Gets or sets the value of DatabaseSchema domain property.
The schema to use for table creation
| |
DatabaseType |
Gets or sets the value of DatabaseType domain property.
Database manifest token. Optimization if runtime database type is known and
unchanging, and only valid for SqlServer.
| |
DbSetAccess |
Gets or sets the value of DbSetAccess domain property.
Code visibility for DbSets
| |
DefaultCollectionClass | ||
DefaultIdentityType |
Gets or sets the value of DefaultIdentityType domain property.
Default type for ID properties in new classes
| |
Description |
Gets or sets the value of Description domain property.
Detailed code documentation
| |
Diagrams |
Gets a list of Diagrams.
| |
DSLVersion | ||
EntityContainerAccess |
Gets or sets the value of EntityContainerAccess domain property.
Code visibility for entity container
| |
EntityContainerName |
Gets or sets the value of EntityContainerName domain property.
Name of entity container class
| |
EntityFrameworkPackageVersion |
Gets or sets the value of EntityFrameworkPackageVersion domain property.
Version of Entity Framework code for validation and generated code
| |
EntityFrameworkVersion |
Gets or sets the value of EntityFrameworkVersion domain property.
Version of Entity Framework for validation and generated code
| |
EntityNamespace |
Gets or sets the value of EntityNamespace domain property.
Namespace for entities
| |
EntityOutputDirectory |
Gets or sets the value of EntityOutputDirectory domain property.
Output directory for entities
| |
EnumNamespace |
Gets or sets the value of EnumNamespace domain property.
Namespace for enumerations
| |
EnumOutputDirectory |
Gets or sets the value of EnumOutputDirectory domain property.
Project directory for enums
| |
Enums |
Gets a list of Enums.
No description available
| |
ExecuteValidator | ||
ExposeForeignKeys |
Gets or sets the value of ExposeForeignKeys domain property.
Allow foreign key properties to be available in the POCO entities (recommended:
false)
| |
FileNameMarker |
Gets or sets the value of FileNameMarker domain property.
File name suffix for generated files (e.g., foo.generated.cs)
| |
FullName | ||
InheritanceStrategy |
Gets or sets the value of InheritanceStrategy domain property.
How tables will be created/used to handle inheritance
| |
LazyLoadingEnabled |
Gets or sets the value of LazyLoadingEnabled domain property.
If true, entity container will use lazy loading
| |
Namespace |
Gets or sets the value of Namespace domain property.
Namespace for DBContext and, unless otherwise specified, all other generated
code
| |
Namespaces |
Gets or sets the value of Namespaces domain property.
Default namespaces for generated code
| |
OutputLocations |
Gets or sets the value of OutputLocations domain property.
Default output folders for generated code
| |
Partition | (Inherited from ModelElement.) | |
ProxyGenerationEnabled |
Gets or sets the value of ProxyGenerationEnabled domain property.
If true, context will generate proxies for POCO entities
| |
SpatialTypes | ||
Store | (Inherited from ModelElement.) | |
StructNamespace |
Gets or sets the value of StructNamespace domain property.
Namespace for owned entities
| |
StructOutputDirectory |
Gets or sets the value of StructOutputDirectory domain property.
Project directory for generated structures (owned/complex types)
| |
Summary |
Gets or sets the value of Summary domain property.
Brief code documentation
| |
Types | Obsolete. | |
ValidCLRTypes | ||
ValidIdentityAttributeTypes | ||
ValidTypes | ||
WarnOnMissingDocumentation |
Gets or sets the value of WarnOnMissingDocumentation domain property.
If true, will generate warnings when summary documentation is missing
|
Name | Description | |
---|---|---|
GetDomainClass | (Inherited from ModelElement.) | |
GetEntityFrameworkPackageVersionNum | ||
IsValidCLRType |
Name | Description | |
---|---|---|
PluralizationService |
Name | Description | |
---|---|---|
GetActiveDiagram | (Defined by ModelElementExtensions.) | |
GetCompartment |
Gets the named compartment in this element
(Defined by ModelElementExtensions.) | |
GetDisplayText | (Defined by ModelElementExtensions.) | |
GetFirstShapeElement | (Defined by ModelElementExtensions.) | |
InvalidateDiagrams |
Causes all diagrams to redraw
(Defined by ModelElementExtensions.) | |
IsLoading | (Defined by ModelElementExtensions.) | |
LocateInDiagram | (Defined by ModelElementExtensions.) | |
Redraw | (Defined by ModelElementExtensions.) |