One or more selected items contain a data type that is not supported by the designer

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

One or more of the items dragged from Server Explorer/Database Explorer onto the O/R Designer contains a data type that is not supported by the O/R Designer (for example, CLR User-Defined Types).

To correct this error

  1. Create a view that is based on the desired table and that does not include the unsupported data type.

  2. Drag the view from Server Explorer/Database Explorer onto the designer.

See Also

LINQ to SQL Tools in Visual Studio Walkthrough: Creating LINQ to SQL Classes (O-R Designer) LINQ to SQL