Mindscape
  • Register
  • Login
  • YOUR CART IS EMPTY
home
Software
  • Developers Toolbox
  • LightSpeed
  • Raygun
  • WPF Elements
  • Web Workbench
  • Metro Elements
  • Silverlight Elements
  • NHibernate Designer
  • Phone Elements
  • WPF Diagrams
  • Simple DB management
  • Visual Tools for SharePoint
Downloads
Store
  • Buy online
  • Purchase order
  • Volume discounts
  • Reseller
  • Software license
  • Contact sales
Blog
Support
About
  • About Us
  • Contact
  • Testimonials
rss
twitter
facebook
Appendices Configuration Reference Tips Tricks and Troubleshooting Command Line Tools Reference LINQ Support Limitations Further Reading

Configuration Reference

The following configuration settings are available through the LightSpeedContext class and the configuration file.

Property
(Configuration Attribute)

Description

More Information

AuditInfoMode
(auditInfo)

How to generate user names for CreatedBy, UpdatedBy, etc.

Implementing Storage Policies in LightSpeed

AutoTimestampMode (autoTimestamps)

How to generate timestamps for CreatedOn, UpdatedOn, etc.

Implementing Storage Policies in LightSpeed

Cache
(cacheClass)

Cache implementation for cached entities

Performance and Tuning

CascadeDeletes
(cascadeDeletes)

Whether delete operations cascade by default

Basic Operations

CommandTimeout
(commandTimeout)

How long LightSpeed should allow commands to run before failing them.  (Config entry is in seconds.)

ConnectionString
(connectionStringName)

The database connection string.  (Config entry refers to the <connectionStrings> section.)

Basic Operations

CustomAuditInfoStrategy
(auditInfo)

IAuditInfoStrategy for user names for CreatedBy, UpdatedBy, etc.

Implementing Storage Policies in LightSpeed

CustomAutoTimestampStrategy
(autoTimestamps)

IAutoTimestampStrategy for timestamps for CreatedOn, UpdatedOn, etc.

Implementing Storage Policies in LightSpeed

DataProvider
(dataProvider)

The type of database.

Basic Operations

DetectPropertyNames
(detectPropertyNames)

Enables the Entity.Set overload which does not take a property name.  True by default.

DisplayNamingStrategy
(displayNamingStrategyClass)

IDisplayNamingStrategy for localising property names for display in validation messages.

Building Applications with LightSpeed

EntityFactory

IEntityFactory to be used when materialising entities.

IdentityBlockSize
(identityBlockSize)

When using the KeyTable identity method, the number of Ids to reserve per database query.  When using the Sequence or MultiSequence method, the increment amount of the sequence.

Controlling the Database Mapping

IdentityMethod
(identityMethod)

How LightSpeed assigns Ids to entities.

Controlling the Database Mapping

IdentityMethodOptions

Additional configuration for the IdentityMethod

Controlling the Database Mapping

Logger
(loggerClass)

ILogger for SQL and debug logging

Testing and Debugging

NamingStrategy
(namingStrategyClass)

INamingStrategy for database mapping.

Controlling the Database Mapping

PluralizeTableNames
(pluralizeTableNames)

Whether table names in the database use the plural or singular form of the entity class name (e.g. Person table or People table).

Controlling the Database Mapping

QuoteIdentifiers
(quoteIdentifiers)

Whether to quote identifiers (e.g. table names) in generated SQL.  Avoids conflicts with SQL reserved words, but can cause case sensitivity issues on some databases.

Basic Operations

Schema
(schema)

The default database schema (can be overridden on a per‑entity basis).

SearchEngine
(searchEngineClass)

The type of full‑text search engine, if any.

Advanced Querying Techniques

SearchEngineFileLocation
(searchEngineFileLocation)

Location of full text search index file(s).

Advanced Querying Techniques

UpdateBatchSize
(updateBatchSize)

Maximum number of update statements per command batch.

Performance and Tuning

UseMediumTrustCompatibility

Runs LightSpeed in a mode that is compatible with ASP.NET medium trust, at the expense of some performance.

Building Web Applications with LightSpeed

VerboseLogging
(verboseLogging)

Shows additional detail in log displays.

Testing and Debugging

Data Products

  • LightSpeed ORM
  • NHibernate Designer
  • SimpleDB Tools
  • SharePoint Tools

DevOp Tools

  • Raygun

Visual Controls

  • WPF Elements
  • WPF Diagrams
  • Silverlight Elements
  • Phone Elements

Popular Products

  • Web Workbench

    Modern web development for Visual Studio!

  • Mindscape Megapack

    All Mindscape products for one awesome price!

Quick Links

  • Forums
  • Blog
  • Register
  • Login
  • Contact us
  • Twitter
  • Facebook
  • Google+
  • YouTube
  • Linkedin
  • Rss

© Mindscape 2025. Mindscape is a registered trademark of Mindscape Limited.

  • Terms
  • Privacy