This topic has not yet been rated - Rate this topic

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>

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.

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#).

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

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.