This is a migrated thread and some comments may be shown as answers.

DataType Mapping to generated code file is not working

1 Answer 44 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ibrahim Imam
Top achievements
Rank 1
Ibrahim Imam asked on 21 Apr 2011, 03:53 PM
Hello,

I edited some tables using the Designer that I opened by clicking on the rlinq file. In there I changed the types of some properties and saved the file. This triggered the update process of the generated entity cs files. In case I update the property types again and press save, there is no effect at all, meaning the generated code file is rebuilt but the type of the properties is not updated, So now the properties in the generated entity files do not fit to the defintiions of rlinq file, So I updated the types in the generated cs files on my own but after doing some more modifications in the rlinq designer my modifications were gone (which would be ok because the files should use the definitions in the rlinq file). So my question would be why my modifications do not update the generated cs entity files.

In case I change the name of a property, the name is updated "sometimes" in the generated cs file but the type can only be changed one time.

Furthermore I am facing the issue that the code generation process destroys my DBContext file from time to time. In there I only find a message that the file could not be generated.

Maybe someone knows what is going and can give some hint.

Thx
Ibrahim

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 22 Apr 2011, 01:38 PM
Hello Ibrahim Imam,

 Can you give us more information on how these problems are occurring. We were not able to reproduce them locally e.g. we tested updating the Type of a property and it worked numerous times. The same is valid for the Name as well. Are you sure you are always putting correct values for type of a property and what is the way i which you are setting it - is it via the property grid or are you setting the values manually. We are looking forward to resolving all those issues and I believe it would be very good if you could send us an .rlinq file that is already "damaged" this way so we can test these problems locally.

Regards,
Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Design Time (Visual Designer & Tools)
Asked by
Ibrahim Imam
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or