EdmxFile Type Provider (F#)

Provides the types to access a database with the schema in an .edmx file by using a LINQ to Entities mapping.

Namespace/Module Path: Microsoft.FSharp.Data.TypeProviders

Assembly: FSharp.Data.TypeProviders (in FSharp.Data.TypeProviders.dll)

type EdmxFile<File : string,
                                   ?ResolutionFolder : string>

Static Type Parameters

Type Parameter

Description

File : string

The path to an .edmx file that contains the schema. This file is written by the type provider.

?ResolutionFolder : string

A folder to be used to resolve relative file paths at compile time. The default value is the folder that contains the project or script.

Remarks

The EdmxFile type provider doesn't support the SQL data types hierarchyid and sql_variant.

For a walkthrough that shows how to use the EdmxFile type provider, see Walkthrough: Generating F# Types from an EDMX Schema File (F#).

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Collections Namespace (F#)