Click or drag to resize
EF Visual Editor

ModelRoot Properties

The ModelRoot type exposes the following members.

Properties
  NameDescription
Public propertyAutomaticMigrationsEnabled
Gets or sets the value of AutomaticMigrationsEnabled domain property. If true, automatic database migrations will be run when changes are detected.
Public propertyBaseClass
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.
Public propertyChopMethodChains
Gets or sets the value of ChopMethodChains domain property. Will chop generated code method chains
Public propertyClasses
Gets a list of Classes. Description for Sawczyn.EFDesigner.EFModel.ModelRootHasClasses.ModelRoot
Public propertyComments
Gets a list of Comments.
Public propertyConcurrencyDefault
Gets or sets the value of ConcurrencyDefault domain property. Default concurrency handling strategy
Public propertyConnectionString
Gets or sets the value of ConnectionString domain property. Connection string to use. Mutually exclusive with ConnectionStringName
Public propertyConnectionStringName
Gets or sets the value of ConnectionStringName domain property. Name of connection string in config file. Mutually exclusive with ConnectionString
Public propertyContextOutputDirectory
Gets or sets the value of ContextOutputDirectory domain property. Project directory for DbContext-related files
Public propertyDatabaseInitializerType
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
Public propertyDatabaseSchema
Gets or sets the value of DatabaseSchema domain property. The schema to use for table creation
Public propertyDatabaseType
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.
Public propertyDbSetAccess
Gets or sets the value of DbSetAccess domain property. Code visibility for DbSets
Public propertyDefaultCollectionClass
Public propertyDefaultIdentityType
Gets or sets the value of DefaultIdentityType domain property. Default type for ID properties in new classes
Public propertyDescription
Gets or sets the value of Description domain property. Detailed code documentation
Public propertyDiagrams
Gets a list of Diagrams.
Public propertyStatic memberDSLVersion
Public propertyEntityContainerAccess
Gets or sets the value of EntityContainerAccess domain property. Code visibility for entity container
Public propertyEntityContainerName
Gets or sets the value of EntityContainerName domain property. Name of entity container class
Public propertyEntityFrameworkPackageVersion
Gets or sets the value of EntityFrameworkPackageVersion domain property. Version of Entity Framework code for validation and generated code
Public propertyEntityFrameworkVersion
Gets or sets the value of EntityFrameworkVersion domain property. Version of Entity Framework for validation and generated code
Public propertyEntityNamespace
Gets or sets the value of EntityNamespace domain property. Namespace for entities
Public propertyEntityOutputDirectory
Gets or sets the value of EntityOutputDirectory domain property. Output directory for entities
Public propertyEnumNamespace
Gets or sets the value of EnumNamespace domain property. Namespace for enumerations
Public propertyEnumOutputDirectory
Gets or sets the value of EnumOutputDirectory domain property. Project directory for enums
Public propertyEnums
Gets a list of Enums. No description available
Public propertyStatic memberExecuteValidator
Public propertyExposeForeignKeys
Gets or sets the value of ExposeForeignKeys domain property. Allow foreign key properties to be available in the POCO entities (recommended: false)
Public propertyFileNameMarker
Gets or sets the value of FileNameMarker domain property. File name suffix for generated files (e.g., foo.generated.cs)
Public propertyFullName
Public propertyInheritanceStrategy
Gets or sets the value of InheritanceStrategy domain property. How tables will be created/used to handle inheritance
Public propertyLazyLoadingEnabled
Gets or sets the value of LazyLoadingEnabled domain property. If true, entity container will use lazy loading
Public propertyNamespace
Gets or sets the value of Namespace domain property. Namespace for DBContext and, unless otherwise specified, all other generated code
Public propertyNamespaces
Gets or sets the value of Namespaces domain property. Default namespaces for generated code
Public propertyOutputLocations
Gets or sets the value of OutputLocations domain property. Default output folders for generated code
Public propertyPartition (Inherited from ModelElement.)
Public propertyProxyGenerationEnabled
Gets or sets the value of ProxyGenerationEnabled domain property. If true, context will generate proxies for POCO entities
Public propertySpatialTypes
Public propertyStore (Inherited from ModelElement.)
Public propertyStructNamespace
Gets or sets the value of StructNamespace domain property. Namespace for owned entities
Public propertyStructOutputDirectory
Gets or sets the value of StructOutputDirectory domain property. Project directory for generated structures (owned/complex types)
Public propertySummary
Gets or sets the value of Summary domain property. Brief code documentation
Public propertyTypes Obsolete.
Public propertyValidCLRTypes
Public propertyValidIdentityAttributeTypes
Public propertyValidTypes
Public propertyWarnOnMissingDocumentation
Gets or sets the value of WarnOnMissingDocumentation domain property. If true, will generate warnings when summary documentation is missing
Top
See Also