Feature #577

avatar

Support of CHAR database type

Added by Sebastian Theilmeier-Aldehoff 3364 days ago. Updated 3364 days ago.

Status:New Start:03/18/2011
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

Columns with a string property are either mapped to VARCHAR or TEXT depending on the Length property value.
There is currently no way to define a CHAR column.

History

Updated by Mirco Bauer 3364 days ago

avatar

The ColumnAttribute should get a DbType property which allows to set any column type. There is currently a Type property but that won't help in this case.

DbType enum in ADO.NET:
http://msdn.microsoft.com/en-us/library/system.data.dbtype.aspx

Also available in: Atom PDF