Feature #577

avatar

Support of CHAR database type

Added by Sebastian Theilmeier-Aldehoff 5030 days ago. Updated 5030 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 5030 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