Click here to Skip to main content
15,844,903 members
Home / Discussions / Database
   

Database

 
QuestionPossible to use Linq to query a column that contains a description and remove the whitespaces? Pin
jkirkerx18-Jan-18 9:40
professionaljkirkerx18-Jan-18 9:40 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Jörgen Andersson18-Jan-18 10:17
professionalJörgen Andersson18-Jan-18 10:17 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Chris Quinn18-Jan-18 23:13
Chris Quinn18-Jan-18 23:13 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
Eddy Vluggen19-Jan-18 5:12
professionalEddy Vluggen19-Jan-18 5:12 
AnswerTable of straight text Pin
jkirkerx19-Jan-18 8:30
professionaljkirkerx19-Jan-18 8:30 
AnswerRe: Possible to use Linq to query a column that contains a description and remove the whitespaces? Pin
jschell20-Jan-18 7:06
jschell20-Jan-18 7:06 
QuestionEntity Framework 6 - Set Connection String at Runtime Pin
Kevin Marois12-Jan-18 8:17
professionalKevin Marois12-Jan-18 8:17 
AnswerRe: Entity Framework 6 - Set Connection String at Runtime Pin
Richard Deeming12-Jan-18 9:23
mveRichard Deeming12-Jan-18 9:23 
Add the required constructor overloads to your context:
C#
public partial class MyEntities : DbContext
{
    public MyEntities() : base("name=MyEntities")
    {
    }
    
    public MyEntities(string nameOrConnectionString) : base(nameOrConnectionString)
    {
    }
    
    public MyEntities(DbConnection existingConnection, bool contextOwnsConnection) : base(existingConnection, contextOwnsConnection)
    {
    }

EDIT: If you're using the .tt file to generate the context from the database, you'll probably need to add the extra overloads in a separate file; that's why the class is declared as partial.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionProblem with Access Pin
JackMisani10-Jan-18 8:51
JackMisani10-Jan-18 8:51 
AnswerRe: Problem with Access Pin
Tim Carmichael12-Jan-18 4:50
Tim Carmichael12-Jan-18 4:50 
GeneralRe: Problem with Access Pin
JackMisani12-Jan-18 5:23
JackMisani12-Jan-18 5:23 
GeneralRe: Problem with Access Pin
Tim Carmichael12-Jan-18 6:13
Tim Carmichael12-Jan-18 6:13 
GeneralRe: Problem with Access Pin
JackMisani16-Jan-18 23:07
JackMisani16-Jan-18 23:07 
GeneralRe: Problem with Access Pin
Tim Carmichael17-Jan-18 3:24
Tim Carmichael17-Jan-18 3:24 
QuestionOLEDB connection to a SQL server database hosted in an availability group (repost) Pin
kmoorevs2-Jan-18 12:38
kmoorevs2-Jan-18 12:38 
AnswerRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
PIEBALDconsult2-Jan-18 15:12
mvePIEBALDconsult2-Jan-18 15:12 
GeneralRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
kmoorevs4-Jan-18 9:33
kmoorevs4-Jan-18 9:33 
AnswerRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
Joe DiNatale4-Jan-18 12:10
Joe DiNatale4-Jan-18 12:10 
GeneralRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
kmoorevs4-Jan-18 12:33
kmoorevs4-Jan-18 12:33 
GeneralRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
S Douglas7-Mar-18 12:35
professionalS Douglas7-Mar-18 12:35 
AnswerRe: OLEDB connection to a SQL server database hosted in an availability group (repost) Pin
S Douglas7-Mar-18 12:31
professionalS Douglas7-Mar-18 12:31 
QuestionMore than interesting... Pin
Kornfeld Eliyahu Peter31-Dec-17 22:05
professionalKornfeld Eliyahu Peter31-Dec-17 22:05 
AnswerRe: More than interesting... Pin
Jörgen Andersson1-Jan-18 4:44
professionalJörgen Andersson1-Jan-18 4:44 
GeneralRe: More than interesting... Pin
Kornfeld Eliyahu Peter1-Jan-18 5:31
professionalKornfeld Eliyahu Peter1-Jan-18 5:31 
GeneralRe: More than interesting... Pin
Jörgen Andersson2-Jan-18 6:28
professionalJörgen Andersson2-Jan-18 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.