No announcements
Found 2617935 threads
-
0 Votes
extract connection string from DbContext
Hi kevcoder; One way to get the SQL connections string from the config file is as follows.Answered | 1 Replies | 1613 Views | Created by kevcoder - Thursday, January 31, 2013 3:57 PM | Last reply by Fernando Soto - MCSD - Thursday, January 31, 2013 8:00 PM -
0 Votes
Connection string not work after publish
You could also check if the Connection String with name "xxEntities" is declared in your Web.Config file or in your Web.Debug.Config, maybe it's only ...Answered | 7 Replies | 2162 Views | Created by Ale023 - Tuesday, May 27, 2014 5:36 PM | Last reply by Ealsur - Wednesday, May 28, 2014 5:03 PM -
0 Votes
Set dynamic dbcontext connection string after AspNetUser logs in
User1312693872 posted Hi,bernardj1905 You do not have to change the dbcontext constructor, this factory just offers a way to select which database too ...Unanswered | 3 Replies | 305 Views | Created by Anonymous - Monday, December 28, 2020 10:46 PM | Last reply by Anonymous - Wednesday, December 30, 2020 6:23 AM -
0 Votes
DBContext connection Dispose
>which mentioned that the connection will get automatically disposed.Answered | 4 Replies | 942 Views | Created by Mrityunjay Learning - Wednesday, March 2, 2016 6:46 AM | Last reply by Zhanglong Wu - Thursday, March 3, 2016 9:41 AM -
0 Votes
DbContexts and Open Connections not Functioning as expected.
Hi Stacey, Enabling Multiple Active Result Sets (MARS) is the correct thing to do.Answered | 1 Replies | 5740 Views | Created by Stacey Cielia - Thursday, September 30, 2010 7:39 PM | Last reply by Rowan Miller - Thursday, September 30, 2010 8:46 PM -
1 Votes
Dynamic excel connection string
Hi, Try the retrieve File name from Foreach loop with Fully qulified option And specify the connection string as below, refer the ...Answered | 4 Replies | 9460 Views | Created by SQL_Gun - Tuesday, July 22, 2014 6:56 PM | Last reply by CCRDad - Friday, October 5, 2018 10:45 PM -
2 Votes
Dynamic connection string for OLEDB connection string in SSIS
Hi SubhadipRoy, I you set the connection string of your OLEDB dynamically during the execution of the package, you should try ...Answered | 4 Replies | 24228 Views | Created by SubhadipRoy - Sunday, September 29, 2013 4:19 PM | Last reply by Guillaume Fraiture - Monday, September 30, 2013 8:12 AM -
5 Votes
Passing a ConnectionString in DbContext Constructor
I had tried using the Entity Connection String with Database.Connection.ConnectionString, which didn't work, but had not thought about putting it in the constructor.Answered | 5 Replies | 71154 Views | Created by Christy Piffat - Thursday, September 26, 2013 9:13 PM | Last reply by RobertGustafson - Tuesday, June 21, 2016 8:07 PM -
0 Votes
dynamically connection string
You can use an expression on one of the properties of a connection manager.Answered | 3 Replies | 1420 Views | Created by Koteswararao Bellam - Wednesday, July 17, 2013 4:31 AM | Last reply by SSISJoost - Wednesday, July 17, 2013 6:45 AM -
1 Votes
Dynamic connection strings in SSIS package
I can not give value to parameters in "For Each Loop Container" in section "Mapping Variable" Create a variable inside SSIS package and set an expression for it ...Answered | 3 Replies | 8126 Views | Created by dathy - Tuesday, July 24, 2012 10:16 AM | Last reply by Visakh16 - Sunday, December 30, 2018 7:15 AM -
0 Votes
Dynamic Connection string for SSRS Report
Hi, I am using the connection string like this: ="" & Parameters!Answered | 3 Replies | 12275 Views | Created by microbian - Tuesday, August 11, 2009 12:18 AM | Last reply by microbian - Tuesday, August 11, 2009 6:12 PM -
0 Votes
Dynamically change PowerPivot connection string
Hi, I prepared a PowerPivot connection to Oracle DB with my credentials.Answered | 1 Replies | 881 Views | Created by BorikaS - Thursday, October 19, 2017 8:42 PM | Last reply by willson yuan - Friday, October 20, 2017 3:05 AM -
0 Votes
DSN settings in connect string
That way you don’t need some temp var with a connection string.Answered | 11 Replies | 1430 Views | Created by KhurramKZ - Friday, January 20, 2017 11:08 AM | Last reply by KhurramKZ - Saturday, January 28, 2017 7:33 AM -
2 Votes
Biztalkserver Mapping: Dynamic Connection String
But connection string is getting only for one DB only.Answered | 6 Replies | 5383 Views | Created by Raj_biz - Thursday, October 6, 2011 7:22 AM | Last reply by JaguarsJag - Sunday, May 3, 2015 8:48 PM -
0 Votes
Set local connection dynamically?
With CMS you may better off not using the packages, but once/since the Agent jobs are [already] set you can run them using CMS, and you can see those failing + other benefits, I just told you ...Answered | 5 Replies | 2089 Views | Created by chuckh1958 - Monday, August 20, 2012 5:08 PM | Last reply by ArthurZ - Monday, August 20, 2012 8:50 PM -
1 Votes
Entity Framework model- database first setting connection string at runtime
public partial class myContext : DbContext { public myContext(string conn) : base(conn) { ...Answered | 6 Replies | 9871 Views | Created by Daniel CL - Thursday, January 16, 2014 6:06 PM | Last reply by GearWorld - Wednesday, February 18, 2015 12:48 AM -
4 Votes
passing connection string dynamically to ssis package
HI I used this connection string and evaluated it.Answered | 8 Replies | 50625 Views | Created by baba k - Thursday, July 12, 2012 12:35 PM | Last reply by Nandhini Madan - Tuesday, November 24, 2015 1:44 AM -
0 Votes
Dynamic Connection Strings, LINQ to SQL, and Connection Pooling?
Here's a good discussion about connection pooling in Entity Framework, please refer to it: http://stackoverflow.com/questions/3653009/entity-framework-and-connection-pooling.Answered | 1 Replies | 3074 Views | Created by bblankenship78 - Monday, August 6, 2012 4:43 PM | Last reply by Allen Li - Coding4Fun - Wednesday, August 8, 2012 2:38 AM -
0 Votes
Entity Framework 7 Connection string
Pass Connection object or connection string to dbcontext?Answered | 2 Replies | 1166 Views | Created by aivarinns - Thursday, May 5, 2016 12:30 PM | Last reply by Zhanglong Wu - Friday, May 6, 2016 2:25 AM -
0 Votes
Set up entity framework connection string outside of app.config file
If using code first, create an overloaded constructor and pass in pass in the connection string while model first you can't because the DbContext is auto-generated.Answered | 4 Replies | 3482 Views | Created by Derek Bollocks - Tuesday, August 9, 2016 10:44 PM | Last reply by Zhanglong Wu - Monday, August 15, 2016 6:04 AM - Items 1 to 20 of 2617935 Next ›
No announcements