Configuration

This page of the Model Settings dialog box is intended for customizing NHibernate configuration. I.e. here you can set parameters for NHibernate configuration and specify the location of its storage: either in App.Config (Web.Config), or in a separate file (cfg.xml), or you can choose Entity Developer not to do anything concerning configuration.

Save configuration in App.Config

This radio button defines that configuration should be saved in the app.config file.

Save configuration in separate <Model Name>.cfg.xml file

This radio button defines that configuration should be saved in a separate file (cfg.xml).

Not to save the configuration

This radio button defines that configuration should not be saved.

 

ExpandedToggleIcon        Backend

Driver

Controls the name of the driver to be used. You need to specify this property only in cases where the NTDS or ODP drivers are to be used.

 

ExpandedToggleIcon        Backend Runtime

Allow Cascade Delete

Controls the default behavior for deletion when nothing is specified on the class level in the MetadataContainer.

Allow Non Nullable Columns In TPT Inheritance

Allows the generation of non nullable columns in TPT inherited classes.

Allow Read After Delete

Controls if read operations on the already deleted instances are allowed. This property controls if read access on existing persistent objects is allowed after it has been deleted.

Allow Read After Dispose

Controls if read operations on the already fetched instances are allowed after managing context disposal.

This property controls if read access on existing persistent objects is allowed after the managing context has been disposed.

Cache Reference Type

Controls the type of reference that is used in the cache of the object scope.

Check Object Consistency On Commit

Controls whether the consistency of the object graph in the local cache is ensured. If set to 'true', this makes sure that all bi-directional relationships (one-many and many-many) are in sync.

Check Schema Consistency On Startup

Controls if the class/table mapping is validated on startup of the application.

Class Behavior

Controls the default modification behavior of persistent types.

Close Database With Active Transactions

Controls if closing a database with active transactions is allowed.

Close Scopes With Active Transaction

Controls if closing of an object scope with an active transaction is allowed.

Command Timeout

Controls the global CommandTimeout value in seconds that is set to all DbCommands used in Telerik Data Access.

Compiled Query Cache Size

Controls the maximum number of queries that are kept in the precompiled query cache.

Concurrency

Specifies which concurrency control is used.

Default Stream Buffer Size

Gets or sets the default buffer size for Stream fields.

Has Temp Tables

Controls if the database will attempt to use temporary tables.

Intercept Default Fetch Group Field Access

Determines if the optimized code path is used for fields in the default fetch group.

Like With Escape

Determines if the database will use the LIKE operator with the ESCAPE character set to backslash.

Lock SQL Suffix

Gets or sets the SQL that is appended to a 'SELECT FOR UPDATE' statement which is used to obtain a write lock when using pessimistic concurrency control.

Lock Timeout MSec

Controls the lock time out in milliseconds.

Medium Trust

Determines if medium-trust environments are supported.

Nulls First

Controls if the database will use NULLS FIRST sorting.

Only Metadata

Controls if the OpenAccessContext will be created to obtain only the Metadata and not actually connect to the database.

Parallel Fetching Enabled

Gets or sets whether parallel fetching of a sub collection is enabled.Parallel fetching allows the use of multiple result sets, if the backend supports it, in a combined way for an improved performance.

Performance Counter

Gets or sets whether performance counters for the Second level cache and Second level cache cluster are enabled.

Performance Counter Name

Gets or sets the name of the performance counter instance.

Prepare Commands

Controls the creation of prepared commands used to perform CRUD operations.

Read Only

Controls if write operations against the database are permitted.

Read Without Transactions

Controls if normal query operations are done without database transactions.

Require Persistent Classes

Controls if the opening of a database requires persistent classes to be present.

Retain Connection In Optimistic Transaction

Controls if the connection is to be retained in optimistic transactions.

Return Null For Row Not Found

Controls if null is to be returned when an object is not found.

Scope Implementation Pool Enabled

Controls if the implementation objects underlying the object scope can be pooled.

Scope Implementation Pool Max Idle

Controls the maximum number of idle scope implementation objects.

Statement Batching Enabled

Controls statement batching for DML operations.

Statement Batching Size

Controls the maximum amount of batched modification operations.

Statement Batching Threshold

Controls the threshold for using statement batching of modifying operations.

Support Concurrent Threads In Scope

Controls if the runtime supports concurrent threads within one objects scope.

Use UTC For AutoSet Values

Controls if the datetime values that are automatically set during commit will use UTC.

Use UTC For Read Values

Controls if the datetime values that are read will be converted to use UTC.

Write Artificial Types To Disk

Controls if assemblies containing artificial types are written to disk.

Use UTC For AutoSet Values

Controls if the datetime values that are automatically set during commit will use UTC.

Use UTC For Read Values

Controls if the datetime values that are read will be converted to use UTC.

Write Artificial Types To Disk

Controls if assemblies containing artificial types are written to disk.

 

ExpandedToggleIcon        Connection Pool

Active Connection Timeout

Controls the time out in seconds for active connections; controls how long query results on the server are held open.

Block When Full

Controls the behavior of the empty connection pool when a new connection is requested. If this property is set to True, threads attempting to obtain a connection will wait, until one is available.

Init SQL

Gets or sets a list of SQL statements that will be executed after creation of a connection before it is put into the connection pool.

Isolation Level

Controls the isolation level that should be used on the database server.

Max Active

Controls the maximum number of active connections in the connection pool.

Pool Type

Controls which ConnectionPool behavior should be used. The behavior of the ADO driver or the behavior of Telerik Data Access.

Reserved

Controls the number of pooled reserved connections (e.g. used by the HighLow key generator).

Integrated Pool Connect Retry Count

Controls the number of connect retries that are attempted until a connection can be established.

Integrated Pool Connect Retry Interval MSec

Controls the time between connect retry attempts in milliseconds.

Integrated Pool Max Connection Age

Controls the maximum number a connection can be returned to the connection pool before it is closed to free accumulated resources.

Integrated Pool Max Idle

Controls the maximum number of idle connections in the connection pool.

Integrated Pool Min Idle

Controls the minimum number of idle connections in the connection pool.

Integrated Pool Prepared Statement Cache Enabled

Controls if the prepared statement pool cache is enabled.

Integrated Pool Prepared Statement Cache Max

Controls the maximum number of prepared statements to be cached on a connection.

Integrated Pool Test Interval

Controls the time in seconds between subsequent tests whether an idle connection is still valid.

Integrated Pool Test On Alloc

Controls if connections are tested for operation when they are unpooled.

Integrated Pool Test On Exception

Controls if connections are tested for operation after an exception occurred.

Integrated Pool Test On Release

Controls if connections are tested for operation when they are pooled.

Integrated Pool Test When Idle

Controls if connections are tested when they are idle.

Integrated Pool Validate SQL

Controls the SQL that is used to test connections for operation.

 

ExpandedToggleIcon        Default Mapping

Always Create Index On Join Table Value Columns

Controls the default value for the index generation in join tables.

Cache Strategy

Controls the default value for the cache strategy.

Null Foreign Key

Controls the default value for whether foreign keys can be null.

Optimistic Concurrency Mode

Controls the default value for the concurrency control strategy.

Use Delimited SQL

Controls if plain or delimited SQL is used.

Use Stored Procedures For Insert

Controls whether stored procedures are used for insert operations.

Use Stored Procedures For Update

Controls whether stored procedures are used for update operations.

Use Stored Procedures For Delete

Controls whether stored procedures are used for delete operations.

 

ExpandedToggleIcon        HighLow Generator

Create Table

Defines whether the table for HighLow generator should be created or not.

Grab Size

The number of new keys fetched in  one server call.

Ignore Missing Tables

If a table is missing in the actual database the keygen table entry will not be written and no objects can be created.

Key Column Length

Defines the length for the primary key column storing the table name.

Key Column Name

Defines the name for the primary key column storing the table name.

Key Column OpenAccess Type

Defines the sql type for the primary key column storing the table name.

Start

The starting value as given out by the key generator.

Table Name

Defines the table name used by the highlow key generator.

Value Column Name

Defines the name for the column storing the most recent pk value.

 

ExpandedToggleIcon        Second Level Cache

Cache Query Results

Controls if the second level cache should also cache query results.

Cache Enabled

Controls if the second level cache is enabled.

Cache Number Of Objects

Controls the number of objects to be cached.

Cache Number Of Objects Per Query Results

Controls the maximum number of object in a cached query result.

If the query result contains a less than or equal number of results, the query result is cache, if the query result contains more results, the query result is not cached.

Cache Number Of Query Results

Controls the number of query results to cache.

Cache Strategy

Controls the default strategy to use.

 

ExpandedToggleIcon        Tracing and Logging

Downloader Append

Append to end of existing event text file (if any).

Downloader Date Format

Date format for event text file.

Downloader Event Binary

Write events to a binary file (filename.oalog)."), Category("Tracing & Logging

Downloader Event Poll Seconds

Time in seconds between polls of the event ring buffer.

Downloader Event Text

Write events to text file (filename.txt).

Downloader Filename

Data is written to files based on this name (default is openaccess_{ConnectionId}).

Downloader Max File Size KB

Maximum size for a file before rollover to backup.

Downloader Metric Binary

Write metric snapshots to binary file (filename.oametric).

Downloader Metric Poll Seconds

Time in seconds between polls of the metric snapshot ring buffer.

Downloader Number Of Backups

Number of old log files to keep (filename.oalog.1, filename.oalog.2, ...).

Event Store Capacity

Number of log events to cache.

Log Errors To Windows Event Log

Log errors to Windows Application Event Log.

Log Events

Controls the logging level.

Log Events To Sys Out

Log events to the System.Console.

Log Events To Trace

Log events to the System.Diagnostics.Trace framework.

Metric Store Capacity

Controls the capacity of the metric snapshot store.

Metric Store Snapshot Interval

Controls the interval to perform metric snapshots in milliseconds.

Stack Trace

Controls whether messages have a stack trace attached.

 

ExpandedToggleIcon        See Also


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.