String (EDM)

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

Note

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.