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

Remove connection string information from .rlinq file

1 Answer 55 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pete
Top achievements
Rank 1
Pete asked on 16 Sep 2014, 03:37 PM
We don't want to store any database connection string information in the repository but aren't finding success in removing this information from the Data Access configuration files and having Data Access continue working when we need to update from the database.  When setting up Data Access for the first time, it adds the connection string information into the EntitiesModel.rlinq file.  Is there a way to have this reference a location in the solution where we have the connection string information (like a config file)?  We can manually remove the connection strings from those files before committing changes but would prefer an easier solution that doesn't rely on someone forgetting to manually do something before committing their changes.

1 Answer, 1 is accepted

Sort by
0
Kaloyan Nikolov
Telerik team
answered on 19 Sep 2014, 07:16 AM
Hello Michael,

Unfortunately currently there is no way to remove this connection information from the .rlinq file. I would encourage you to raise such feature request in our feedback portal. 

Alternately you can use the fluent code only mapping if this is an option for you. 

Thank you for the understanding. 

Regards,
Kaloyan Nikolov
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Databases and Data Types
Asked by
Pete
Top achievements
Rank 1
Answers by
Kaloyan Nikolov
Telerik team
Share this question
or