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

Where is the code generation tools 2016?

10 Answers 171 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.
Jason
Top achievements
Rank 1
Jason asked on 10 Jun 2016, 03:08 PM
When will the code generation tools of data access release ? for visual studio 2015 user.

10 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 15 Jun 2016, 07:04 AM
Hello Jason,

The implementation of the tool for generating new fluent models based on existing databases is ready. There's an unofficial pre-release Beta version at https://www.nuget.org/packages/Telerik.DataAccess.Fluent.CodeGeneration. You can download it and give it a try to see what we have been cooking for so long. At the time present, we are waiting to clear some formal obstacles before we can release the source code and the official first Beta version of the tool.
 
A bit of details:
 
What you can do
- create new fluent models based on existing database schemata. 
- switch between SQL type mapping (same as Add New Fluent Model wizard was using) and Backend-Independent type mapping
 
What is missing
- update existing Fluent Model support
- generation for Stored Procedures
- Visual Basic support
 
Known issues
- Only DBO (default) schema is read and mapped
 
Next steps for the tool are
1. Publish the source code in GitHub
2. Gather your feedback in the repository
3. Implement Update Existing Fluent Model functionality

I hope this helps.

Regards,
Doroteya
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Juan Daniel
Top achievements
Rank 2
answered on 25 Jul 2016, 06:04 PM

Hi Doroteya,

Any update about this tool?

 

Thanks.

0
Doroteya
Telerik team
answered on 27 Jul 2016, 07:06 AM
Hello Juan Daniel,

Currently, the state of the tool is unchanged. It is distributed through the Telerik.DataAccess.Fluent.CodeGeneration NuGet package and it is still in pre-release Beta. The release process on our side is delayed by formal tasks that should complete before the tool is officially live. As for adding new features to the tool, our planning in this direction is dependent on the completion of the formal tasks and we made no changes until now. 

I hope this helps.

Regards,
Doroteya
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Michael
Top achievements
Rank 1
answered on 30 Aug 2016, 06:18 PM
Where are you gathering feedback about this? I can't find it.
0
Doroteya
Telerik team
answered on 01 Sep 2016, 02:07 PM
Hi Michael,

This is the feedback item on our portal.

Regards,
Doroteya
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
William John Adam
Top achievements
Rank 1
answered on 14 Sep 2016, 01:07 AM

How do you use this tool? After installing nuget through the console, I do not find the menu to trigger the creation of fluent model.

Is there a Tutorial (step by step)?

 

Thanks

 

William

0
Doroteya
Telerik team
answered on 16 Sep 2016, 02:48 PM
Hello William,

After installing the code generation NuGet package in your project, all you have to do is add a connection string in the respective App.config\Web.config file and to run the PowerShell script located in the Telerik.DataAccess.CodeGeneration folder. Attached to this message is a screencast that demonstrates the process.

Note that by default the script will generate persistent classes and mapping configuration for the views in the database as well as for the tables. At this point you need to enhance a bit the configuration of the views in the metadatasource class. You need to nominate a property (or a combination of properties) for identity of the classes mapped to views. To do so you need to use the IsIdentity() method of our Fluent API.

Additionally, the nominated class members should uniquely identify the results returned by the views, so that you can consume them safely in your application. If the configuration of any class mapped to view is left without an identity you will experience the following error:  

Invalid object name 'voa_keygen'. Telerik.OpenAccess.RT.sql.SQLException: Invalid object name 'voa_keygen'. at Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeQuery

I hope this helps.

Regards,
Doroteya
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
sitefinitysteve
Top achievements
Rank 2
Veteran
answered on 19 May 2017, 03:26 PM
Has this tool been discontinued?  I have need to map in a complex structure and doing it manually makes me want to cry a bit :/
0
Viktor Zhivkov
Telerik team
answered on 22 May 2017, 08:37 AM
Hello Steve,

Telerik Data Access has been retired in April 2017.
The tool for generating fluent mapping has never been released officially.

Regards,
Viktor Zhivkov
Telerik by Progress
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Patrice Boissonneault
Top achievements
Rank 1
answered on 25 Jul 2017, 03:17 PM
Never again, you poor Telerik !
Tags
Design Time (Visual Designer & Tools)
Asked by
Jason
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Juan Daniel
Top achievements
Rank 2
Michael
Top achievements
Rank 1
William John Adam
Top achievements
Rank 1
sitefinitysteve
Top achievements
Rank 2
Veteran
Viktor Zhivkov
Telerik team
Patrice Boissonneault
Top achievements
Rank 1
Share this question
or