Click here to Skip to main content
15,891,762 members
Home / Discussions / C#
   

C#

 
QuestionGet rows from database, Entity framework Pin
Member 1204569212-Oct-15 1:49
Member 1204569212-Oct-15 1:49 
AnswerRe: Get rows from database, Entity framework Pin
Dave Kreskowiak12-Oct-15 4:36
mveDave Kreskowiak12-Oct-15 4:36 
GeneralRe: Get rows from database, Entity framework Pin
Member 1204569212-Oct-15 4:48
Member 1204569212-Oct-15 4:48 
GeneralRe: Get rows from database, Entity framework Pin
Dave Kreskowiak12-Oct-15 4:50
mveDave Kreskowiak12-Oct-15 4:50 
GeneralRe: Get rows from database, Entity framework Pin
Member 1204569212-Oct-15 5:09
Member 1204569212-Oct-15 5:09 
GeneralRe: Get rows from database, Entity framework Pin
Dave Kreskowiak12-Oct-15 5:14
mveDave Kreskowiak12-Oct-15 5:14 
GeneralRe: Get rows from database, Entity framework Pin
Member 1204569212-Oct-15 9:35
Member 1204569212-Oct-15 9:35 
GeneralRe: Get rows from database, Entity framework Pin
Dave Kreskowiak12-Oct-15 9:54
mveDave Kreskowiak12-Oct-15 9:54 
Your <context> and <databaseInitializer> lines are wrong. They're saying "look for a class called 'SportsStore.domain.Concrete' in the assembly 'EFProductRepository' in one line and in 'EFProductRepository' in the other. That's not what the class is called nor where to find it.

I think it should be more like:
<contexts>
  <context type="SportsStore.domain.Concrete.EFDbContext, assemblyNameGoesHere!">
    <databaseInitializer type="SportsStore.domain.Concrete.initializerClassNameGoesHere, assemblyNameGoesHere!" />
  </context>
</contexts>

It's impossible to provide the exact names because you haven't provided enough information. But, you have to fill in the missing initializer class name that you wrote to initialize the database and the assembly names that contain the specified classes.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Get rows from database, Entity framework Pin
Member 1204569212-Oct-15 10:30
Member 1204569212-Oct-15 10:30 
GeneralRe: Get rows from database, Entity framework Pin
Dave Kreskowiak12-Oct-15 10:33
mveDave Kreskowiak12-Oct-15 10:33 
Questionhow to read data from gps (TK103) in .net Pin
Member 454542811-Oct-15 6:34
professionalMember 454542811-Oct-15 6:34 
AnswerRe: how to read data from gps (TK103) in .net Pin
Dave Kreskowiak11-Oct-15 11:09
mveDave Kreskowiak11-Oct-15 11:09 
AnswerRe: how to read data from gps (TK103) in .net Pin
ZurdoDev13-Oct-15 2:59
professionalZurdoDev13-Oct-15 2:59 
Questionwant to add xlsm file in project and automatic copy the data of xlsm file in other side Pin
Member 1204967211-Oct-15 1:20
Member 1204967211-Oct-15 1:20 
AnswerRe: want to add xlsm file in project and automatic copy the data of xlsm file in other side Pin
OriginalGriff11-Oct-15 1:53
mveOriginalGriff11-Oct-15 1:53 
SuggestionRe: want to add xlsm file in project and automatic copy the data of xlsm file in other side Pin
Kornfeld Eliyahu Peter11-Oct-15 2:44
professionalKornfeld Eliyahu Peter11-Oct-15 2:44 
General2 texbox value transfar ti cobobox Pin
Member 1204736710-Oct-15 17:21
Member 1204736710-Oct-15 17:21 
QuestionIs this a secure way to encrypt? Pin
Jassim Rahma10-Oct-15 11:27
Jassim Rahma10-Oct-15 11:27 
AnswerRe: Is this a secure way to encrypt? Pin
ZurdoDev12-Oct-15 5:26
professionalZurdoDev12-Oct-15 5:26 
QuestionFill Image in tile mode not working fine form Zoom Pin
Le@rner9-Oct-15 2:52
Le@rner9-Oct-15 2:52 
AnswerRe: Fill Image in tile mode not working fine form Zoom Pin
Matt T Heffron9-Oct-15 8:31
professionalMatt T Heffron9-Oct-15 8:31 
QuestionCan't add reference to project, Visual studio Pin
Member 120456929-Oct-15 0:00
Member 120456929-Oct-15 0:00 
QuestionRe: Can't add reference to project, Visual studio Pin
CHill609-Oct-15 1:02
mveCHill609-Oct-15 1:02 
AnswerRe: Can't add reference to project, Visual studio Pin
Member 120456929-Oct-15 1:11
Member 120456929-Oct-15 1:11 
GeneralRe: Can't add reference to project, Visual studio Pin
CHill609-Oct-15 1:32
mveCHill609-Oct-15 1:32 

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.