How can I specify the size of the type used in the following Dictionary mapping:
HasMany(x => x.WidgetSettings)
.AsMap<string>(idx => idx.Column("SettingKey"),
elem => elem.Column("SettingValue"))
.Not.LazyLoad()
.Table("WidgetSettings");
The mapping defaults both column types to varchar(255) and I want the SettingValue colume to be nvarchar(MAX) for example. How can this be achieved?
Ok,
Seems this is a known bug in the 1.0 release.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.