Table of contents
TOC
Collapse the table of content
Expand the table of content

EdmxFile Type Provider (F#)

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

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)

Syntax

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

Static Type Parameters

Type ParameterDescription
File : stringThe path to an .edmx file that contains the schema. This file is written by the type provider.
?ResolutionFolder : stringA 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

Microsoft.FSharp.Collections Namespace (F#)

© 2017 Microsoft