String (EDM)

.NET Framework 3.5

The String type represents fixed or variable length character data and maps to nvarchar in SQL Server.

NoteNote

The Edm.String type MaxLength="512" cannot be mapped to SqlServer.ntext even though the ntext can be explicitly cast to nvarchar(512) or from nvarchar(512) to ntext. Mapping is restricted to types that match without the cast.

Community Additions

Show: