This is a migrated thread and some comments may be shown as answers.
Can integers result in a nullable column with forward mapping?
2 Answers 27 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vweiss
Top achievements
Rank 1
Vweiss asked on 20 Jan 2009, 03:26 PM
If this can be done: how ?

Regards

Dirk

2 Answers, 1 is accepted

Sort by
0
Accepted
Thomas
Telerik team
answered on 21 Jan 2009, 08:49 AM
Hi Dirk,

yes, this can happen when the declaring class is mapped flat and not a base class. In this case the class must generate nullable columns as otherwise the values of a pure base class could not be stored.
Also, you can force that by using int? (C#) as the field type.

Sincerely yours,
Thomas
0
Vweiss
Top achievements
Rank 1
answered on 21 Jan 2009, 12:17 PM
Using int? did it. Thanks for your help!
Tags
General Discussions
Asked by
Vweiss
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Vweiss
Top achievements
Rank 1
Share this question
or