This topic has not yet been rated - Rate this topic

SqlCeConnectionFactory.DatabaseDirectory Property

Entity Framework 5.0

The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. The default value is "|DataDirectory|", which means the file will be placed in the designated data directory.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)
public string DatabaseDirectory { get; }

Property Value

Type: System.String
The path for the database.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.