This question is locked. New answers and comments are not allowed.
I am trying to use Telerik OpenAccess ORM Free edition with MVCScaffolding (http://mvcscaffolding.codeplex.com/).
When I use this tool with Linq2SQL for generating scaffolding (Controller, CRUD functions and respective Views), it generates correctly.
When I use the same with OA context entities, it is unable to locate any primary key.
The tool looks for primary key in the code generated by OA ORM (or Linq2SQL) and it does not find when the code the generated by Telerik OA ORM.
Is there a way to force OA ORM to insert primary key in the generated code?
e.g
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="ConsumerID", Storage="_ConsumerID", DbType="NVarChar(30) NOT NULL", CanBeNull=false, IsPrimaryKey=true, UpdateCheck=UpdateCheck.Never)]
There are no decorations on code generated by OA, as such no way for scaffolder to know column attributes?
Do you recommend any specific scaffolding tool?
When I use this tool with Linq2SQL for generating scaffolding (Controller, CRUD functions and respective Views), it generates correctly.
When I use the same with OA context entities, it is unable to locate any primary key.
The tool looks for primary key in the code generated by OA ORM (or Linq2SQL) and it does not find when the code the generated by Telerik OA ORM.
Is there a way to force OA ORM to insert primary key in the generated code?
e.g
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="ConsumerID", Storage="_ConsumerID", DbType="NVarChar(30) NOT NULL", CanBeNull=false, IsPrimaryKey=true, UpdateCheck=UpdateCheck.Never)]
There are no decorations on code generated by OA, as such no way for scaffolder to know column attributes?
Do you recommend any specific scaffolding tool?