Posts by Horacio Oliveira • 56 points
6 posts
-
0
votes2
answers57
viewsA: How to add AND parameters in EF query
query. Where(x => x.Kind == Myenum.Value1 || x.Kind == Myenum.Value1 ) || for OR and if it was AND it would be && try and tell me…
-
1
votes1
answer206
viewsA: Changing Database of a system that is using EF code first
creates a new application using sqlserver with a test table and EF etc just to make sure you’re not forgetting some reference. then compare web.config. add the references you will use. preserve the…
-
0
votes2
answers137
viewsA: Problems with ASP.NET MVC
Compiler Error CS1579 The foreach statement cannot operate with variables of type "-1 " as "type 2 " does not contain a public definition of and the message" To iterate through a collection using…
asp.net-mvcanswered Horacio Oliveira 56 -
1
votes3
answers4358
viewsA: ASP.NET Web Forms or MVC. What’s Best and Fastest?
On the one hand we have years of experience and evolution, with a vast amount of tools that considerably increase productivity, making development easy and fast in webforms. On the other hand, we…
asp.net-mvc-5answered Horacio Oliveira 56 -
1
votes2
answers556
viewsA: Insert foreign keys
Another wrong practice is that you use name as the primary key. usually uses integer numbers, in mysql is AUTO_INCREMENT. Think later when the user needs to change the name if it is primary key and…
-
1
votes1
answer475
viewsA: How to insert data into another table from the foreign key?
vc have to add first in address table pick up id and add this id in immobles. in your form have the address fields location and match. when you save the form, first save the address table. as it may…