Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
QuestionAsp.net c# Pin
Hrishikeshkamble10-Aug-17 7:13
Hrishikeshkamble10-Aug-17 7:13 
AnswerRe: Asp.net c# Pin
Richard Deeming10-Aug-17 8:33
mveRichard Deeming10-Aug-17 8:33 
QuestionEmbedded image in Resource reported error ? Pin
Member 24584679-Aug-17 22:06
Member 24584679-Aug-17 22:06 
Questionworking around 'using wrapped MemoryStream immutability ? Pin
BillWoodruff9-Aug-17 17:53
professionalBillWoodruff9-Aug-17 17:53 
AnswerRe: working around 'using wrapped MemoryStream immutability ? Pin
Richard Deeming10-Aug-17 1:16
mveRichard Deeming10-Aug-17 1:16 
GeneralRe: working around 'using wrapped MemoryStream immutability ? Pin
BillWoodruff10-Aug-17 3:47
professionalBillWoodruff10-Aug-17 3:47 
GeneralRe: working around 'using wrapped MemoryStream immutability ? Pin
Richard Deeming10-Aug-17 4:01
mveRichard Deeming10-Aug-17 4:01 
QuestionEntity Framework 4 mapping problems Pin
Member 109427609-Aug-17 13:19
Member 109427609-Aug-17 13:19 
Hi,
I have solution that is using Entity Framework 4 database first approach. When I add something new to database mappings of edmx file are not properly changed to reflect changes in a database, so I get famous error "entity is not part of the current context".
I have tried to Run custom tool and also Transform T4 templates but none of these options gave me a solution to this problem. I'm using Visual Studio 2010 and 2012.
Does anyone know the exact steps that needs to be taken in order to DbContext be synced with database model. Since I have existing database I would like to stick with database first approach. I would like to be able to add and modify objects in database and after "Update Model from database" to have all mapped and in sync.

Thanks
AnswerRe: Entity Framework 4 mapping problems Pin
Gerry Schmitz11-Aug-17 5:55
mveGerry Schmitz11-Aug-17 5:55 
GeneralRe: Entity Framework 4 mapping problems Pin
Member 1094276011-Aug-17 9:11
Member 1094276011-Aug-17 9:11 
Questionquery to retrieve Gujarati Pin
Member 129573749-Aug-17 0:44
Member 129573749-Aug-17 0:44 
AnswerRe: query to retrieve Gujarati Pin
Afzaal Ahmad Zeeshan9-Aug-17 0:53
professionalAfzaal Ahmad Zeeshan9-Aug-17 0:53 
AnswerRe: query to retrieve Gujarati Pin
BillWoodruff9-Aug-17 15:44
professionalBillWoodruff9-Aug-17 15:44 
QuestionC# writing to a csv file, adds an extra column Pin
Member 128805958-Aug-17 23:22
Member 128805958-Aug-17 23:22 
AnswerRe: C# writing to a csv file, adds an extra column Pin
Richard Deeming9-Aug-17 1:08
mveRichard Deeming9-Aug-17 1:08 
GeneralRe: C# writing to a csv file, adds an extra column Pin
Member 128805959-Aug-17 5:23
Member 128805959-Aug-17 5:23 
QuestionHow to implement an existing methods in Visual Studio? Pin
gcobza20105-Aug-17 3:56
gcobza20105-Aug-17 3:56 
AnswerRe: How to implement an existing methods in Visual Studio? Pin
OriginalGriff5-Aug-17 4:40
mveOriginalGriff5-Aug-17 4:40 
AnswerRe: How to implement an existing methods in Visual Studio? Pin
Dave Kreskowiak5-Aug-17 7:11
mveDave Kreskowiak5-Aug-17 7:11 
QuestionWhy do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Jens Eckervogt 4-Aug-17 13:53
Jens Eckervogt 4-Aug-17 13:53 
AnswerRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Richard Andrew x644-Aug-17 14:56
professionalRichard Andrew x644-Aug-17 14:56 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Jens Eckervogt 4-Aug-17 23:22
Jens Eckervogt 4-Aug-17 23:22 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
PIEBALDconsult4-Aug-17 15:44
mvePIEBALDconsult4-Aug-17 15:44 
GeneralRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Jens Eckervogt 4-Aug-17 22:44
Jens Eckervogt 4-Aug-17 22:44 
AnswerRe: Why do libraries not help me? If I want to write parameter like myapp.exe -param1 <value> -param2 <value> .. Pin
Richard MacCutchan5-Aug-17 0:10
mveRichard MacCutchan5-Aug-17 0:10 

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.