DataType Mapping to generated code file is not working

2 posts, 0 answers
  1. Ibrahim Imam
    Ibrahim Imam avatar
    69 posts
    Member since:
    Jul 2007

    Posted 21 Apr 2011 Link to this post


    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.

  2. Zoran
    Zoran avatar
    534 posts

    Posted 22 Apr 2011 Link to this post

    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.

    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
  3. DevCraft banner
Back to Top